Login With Any User
Quick Switch Between Users Without Credentials
Overview
The Login With Any User module allows administrators to quickly and efficiently login as any user without needing their credentials. This powerful tool is essential for support, testing, and user management scenarios.
Generate temporary login links that expire after 5 minutes, or instantly switch to any user account with a single click. Share login links with team members or clients for temporary access to specific user accounts.
⚠️ Security Notice
This module grants powerful access capabilities. Only assign the "Login as Another User" group to trusted administrators. All login links expire after 5 minutes for security.
Key Features
🔐 Temporary Links
Generate secure login links that automatically expire after 5 minutes. Perfect for sharing temporary access.
⚡ Quick Switch
Instantly switch between users with a single click. No need to know passwords or logout/login.
🔗 Shareable URLs
Copy login URLs to share with support staff, trainers, or clients. Links work in any browser.
🛡️ Secure Tokens
Cryptographically secure tokens ensure safe authentication. Each link is unique and time-limited.
🧹 Auto Cleanup
Expired links are automatically deleted every 10 minutes. No manual maintenance required.
👥 All Users
View all active users in one place. Filter and search to quickly find the user you need.
How to Use
Setup
- Install the module from Apps
- Go to Settings → Users & Companies → Users
- Select a user who should have access
- In Access Rights tab, enable "Login as Another User" group
- Save the user
Quick Login (Single Click)
- Go to Settings → Login as Another User
- A wizard opens showing all active users
- Find the user you want to login as
- Click the "Login" button next to their name
- You are instantly logged in as that user
Share Login Link
- Go to Settings → Login as Another User
- Find the user in the list
- Copy the Login URL from the URL column
- Share the link via email, chat, or any method
- Recipient can click the link to login (valid for 5 minutes)
- Click "Refresh Link" to generate a new link if needed
Use Cases
🛠️ Technical Support
Quickly access a user's account to diagnose issues or verify reported bugs. No need to ask for passwords or reset credentials.
🧪 Testing & QA
Switch between multiple test user accounts during quality assurance. Test different roles and permissions efficiently.
📚 Training & Demos
Provide trainers with temporary access to trainee accounts. Share demo links with prospective clients to showcase features.
🔍 User Verification
Review user permissions and interface setup. Verify that users see the correct data and have appropriate access.
👨💼 Management Review
Understand the user experience from different roles. Review dashboards and reports as they appear to various team members.
Security Features
- Time-Limited Access: All links expire after exactly 5 minutes
- Secure Tokens: Cryptographically secure random tokens (256-bit)
- Permission Control: Only users with special group can generate links
- Automatic Cleanup: Expired links deleted automatically
- Audit Trail: All logins tracked in Odoo logs
- One-Time Use: Each link is unique and generated fresh
Frequently Asked Questions
How long are login links valid?
Login links are valid for exactly 5 minutes from generation. After 5 minutes, the link expires and cannot be used. Generate a new link if needed.
Can I use a link multiple times?
Each link can be used as many times as needed within the 5-minute validity period. However, it's recommended to generate fresh links for each use.
Who can use this module?
Only users who have been assigned the "Login as Another User" security group can access this functionality. Assign this group only to trusted administrators.
Does this work with external authentication?
Yes, the module works regardless of the authentication method (standard, LDAP, OAuth). It bypasses normal authentication for quick switching.
Can inactive users be accessed?
No, only active users are shown in the wizard. Inactive users cannot be logged into via this module.
Benefits
For Administrators:
- Faster troubleshooting and support
- No need to manage/share passwords
- Quick verification of user access
- Efficient multi-user testing
For Organizations:
- Improved support efficiency
- Better security (no password sharing)
- Faster issue resolution
- Enhanced user experience
Technical Information
Version: 19.0.1.0.0
Dependencies: base, web
License: OPL-1 (Odoo Proprietary License)
Category: Extra Tools
Compatibility: Odoo 19.0
Link Expiry: 5 minutes
Cleanup Schedule: Every 10 minutes
Token Security: 256-bit secure random tokens
Please log in to comment on this module