| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 355 |
| Technical Name |
devjs_microsoft_sso |
| License | LGPL-3 |
| Versions | 18.0 19.0 |
DevJS Microsoft Single Sign On (SSO) for secure Azure and Entra ID login in Odoo.
DevJS Microsoft Single Sign On (SSO) adds a ready-to-configure Microsoft Azure and Microsoft Entra ID OAuth2 login provider for Odoo 19. It supports authorization-code flow, client-secret authentication, identity-token validation, and first-login linking for existing Odoo users.
Adds a clear Microsoft sign-in option on the Odoo login page while preserving the standard Odoo login experience.
Uses Azure client ID, client secret, authorization URL, and token URL for server-side OAuth2 authorization-code exchange.
Links an existing active Odoo user on first Microsoft login when the Microsoft email matches the Odoo login or email.
Configure Microsoft Azure Authentication directly from Odoo Settings.
Enter the Azure Application client ID, client secret, authorization URL, token URL, and use the displayed redirect URI in the Azure app registration. The built-in Tutorial button opens Odoo's official Microsoft setup guide.
- Application client ID field
- Client secret field stored as an Odoo system parameter
- Authorization URL and token URL fields
- Generated redirect URI for Azure app registration
- Direct Tutorial link for app-registration guidance
Built for Microsoft Azure SSO, Microsoft Entra ID login, and enterprise OAuth2 authentication in Odoo.
The module keeps Odoo's native OAuth provider model while adding the Microsoft-specific pieces needed for secure client-secret sign-in and reliable account matching.
Microsoft flow
|
Odoo behavior
|
A clean Microsoft sign-in option appears on the Odoo login page.
Users can continue using normal Odoo login methods, or choose Microsoft SSO to authenticate through Azure and return securely to Odoo.
- Visible "Sign in with Microsoft" provider button
- Redirects back to /auth_oauth/signin
- Supports existing users without duplicate account creation
- Stores the Microsoft OAuth identity for future sign-ins
Configure Azure once and keep Microsoft login manageable from Odoo Settings.
Use the redirect URI shown in Odoo and choose the Microsoft endpoint style that matches your Azure account policy.
Odoo settings
- Enable OAuth Authentication
- Enable Microsoft Azure Authentication
- Paste the Azure Application client ID
- Paste the Azure client secret value
- Review authorization and token URLs
Azure registration
- Create or open a Microsoft Azure / Microsoft Entra ID app registration
- Add https://<your-domain>/auth_oauth/signin as a Web redirect URI
- Create a client secret and copy the secret value
- Use tenant-specific, organizations, or common endpoints
- Sign in with a Microsoft account type supported by the selected endpoint
Useful for Microsoft SSO, Azure SSO, Entra ID authentication, Azure Active Directory login, OAuth2, and enterprise Odoo login workflows.
The module is built for Odoo teams that want a practical Microsoft Single Sign On setup without replacing Odoo's native OAuth foundation.
Please log in to comment on this module