| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 159 |
| Technical Name |
yt_multi_website_login |
| License | OPL-1 |
| Website | https://www.yugmatech.com |
| Versions | 17.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Website (website)
• Discuss (mail) |
| Lines of code | 159 |
| Technical Name |
yt_multi_website_login |
| License | OPL-1 |
| Website | https://www.yugmatech.com |
| Versions | 17.0 19.0 |
🔄 Multi-Website Login Manager
Also known as: Smart Redirect | Company Access Fix | Login Firewall
Automatically redirect users to the correct website they have access to, instantly after login.
🔥 SOLVED: USERS STUCK ON WRONG WEBSITE WITH 403 ERRORS✅ Why Install This Module?
🎬 See It In Action
Watch how the Smart Login Redirect works!
The Problem with Multi-Website
In a multi-company setup, users often log in via a generic link but end up on a website they can't access.
❌ Before (Standard Odoo)
User logs in to Website B → User only has access to Company A
✅ After (With This App)
User logs in to Website B → User detected as Company A employee
✨ Key Features
Smart Access Firewall
The module intelligently checks the user's allowed companies immediately after login. If they are on a website belonging to a company they don't have access to, it instantly finds a valid website for them.
- ✓ Simple configuration in Website Settings
- ✓ Prioritizes user's main company website
- ✓ Handles multi-company users efficiently
- ✓ Works silently in the background
Cross-Domain Ready
Even if your websites are on different domains (e.g., site1.com and site2.com), the module manages the authentication tokens to ensure a seamless redirection without asking the user to login again.
Configurable
Toggle this behavior on or off via the Website Settings. You have full control over the redirection logic.
Deep Linking
Preserves the user's destination. If they clicked a link to a specific page, they are redirected to the correct website's equivalent if possible.
Performance
Extremely lightweight. The check happens once during the login flow and does not impact normal browsing speed.
Easy Configuration
Simply go to Website Settings and enable the "Smart Login Redirect" option.
Native Odoo Architecture
Pure Python
Implements standard Odoo `ir.http` overrides for robust and secure request handling.
Secure Tokens
Uses Odoo's native signup token mechanism for safe cross-domain authentication.
Plug & Play
Easy setup. Install the module, enable "Smart Login Redirect" in Website Settings, and you're good to go.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module