Saml2 Authentication

Technical Name:
XCG Consulting
  • Odoo Version

Terms and Conditions 

SAML2 authentication

Let users log into Odoo via an SAML2 provider.

This module allows to deport the management of users and passwords in an external authentication system to provide SSO functionality (Single Sign On) between Odoo and other applications of your ecosystem.


This module requires auth_crypt. This is because you still have the option if not recommended to allow users to have a password stored in odoo at the same time as having a SAML provider and id.


  • Reducing the time spent typing different passwords for different accounts.
  • Reducing the time spent in IT support for password oversights.
  • Centralizing authentication systems.
  • Securing all input levels / exit / access to multiple systems without prompting users.
  • The centralization of access control information for compliance testing to different standards.


Install as you would install any Odoo addon.


This addon requires lasso.


There are SAML-related settings in Configuration > General settings.


To use this module, you need an IDP server, properly set up. Go through the "Getting started" section for more information.


Try me on Runbot

Known issues / Roadmap

  • Checks to ensure no Odoo user with SAML also has an Odoo password.
  • Setting to disable that rule.


  • SAML tokens are not stored in res_users anymore to avoid locks on that table.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.



In order of appearance:


Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products