v 15.0 Third Party 1359
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 899
Technical Name auth_saml
LicenseAGPL-3
Websitehttps://github.com/OCA/server-auth
Versions 14.0 15.0 16.0 13.0 11.0 12.0
You bought this module and need support? Click here!

SAML2 authentication

Let users log into Odoo via an SAML2 identity 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.

Benefits

  • 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.

Installation

Install as you would install any Odoo addon.

Dependencies

This addon requires pysaml2 and xmlsec1.

Configuration

To use this module, you need an IDP server, properly set up.

  1. Configure the module according to your IdP’s instructions (Settings > Users & Companies > SAML Providers).
  2. Pre-create your users and set the SAML information against the user.

By default, the module let users have both a password and SAML ids. To increase security, disable passwords by using the option in Settings. Note that the admin account can still have a password, even if the option is activated.

If all the users have a SAML id in a single provider, you can set automatic redirection in the provider settings. It is still possible to access the login without redirection by using the query parameter disable_autoredirect, as in https://example.com/web/login?disable_autoredirect= The login is also displayed if there is an error with SAML login, in order to display any error message.

Usage

Users can login with the configured SAML IdP with buttons added in the login screen.

Demo

Try me on Runbot

Known issues / Roadmap

None for now.

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 smash it by providing a detailed and welcomed feedback here.

Credits

Contributors

In order of appearance:

Maintainer

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 http://odoo-community.org.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
by
HARSHAD KADER
on 1/6/23, 12:39 AM

Shall we have the updated version of this module for Odoo 16?