Skip to main content

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

This modules implements an automatic redirection to the configured OAuth provider login page, if there is one and only one enabled. This effectively makes the regular Odoo login screen invisible in normal circumstances.

Table of contents

Configuration

Configure OAuth providers in Settings > Users and Companies, and make sure there is one and only one that has both the enabled and automatic login flags set.

When this is done, users visiting the login page (/web/login), or being redirected to it because they are not authenticated yet, will be redirected to the identity provider login page instead of the regular Odoo login page.

Be aware that this module does not actively prevent users from authenticating with an login and password stored in the Odoo database. In some unusual circumstances (such as identity provider errors), the regular Odoo login may still be displayed. Securely disabling Odoo login and password, if needed, should be the topic of another module.

Also be aware that this has a possibly surprising effect on the logout menu item. When the user logs out of Odoo, a redirect to the login page happens. The login page in turn redirects to the identity provider, which, if the user is already authenticated there, automatically logs the user back in Odoo, in a fresh session.

Usage

When configured, the Odoo login page redirects to the OAuth identify provider for authentication and login in Odoo. To access the regular Odoo login page, visit /web/login?no_autologin.

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

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE SA/NV

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

Current maintainer:

sbidoul

This module is part of the OCA/server-auth project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo13-addon-auth-oauth-autologin 13.0.1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo13-addon-auth-oauth-autologin 13.0.1.1.0
File Interpreter ABI Platform Actions
odoo13_addon_auth_oauth_autologin-13.0.1.1.0-py3-none-any.whl Python 3 none any Details for odoo13_addon_auth_oauth_autologin-13.0.1.1.0-py3-none-any.whl

Release files / odoo13_addon_auth_oauth_autologin-13.0.1.1.0-py3-none-any.whl

Download URL odoo13_addon_auth_oauth_autologin-13.0.1.1.0-py3-none-any.whl
Size 25.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6e9a04810ab6d8d42a89c982f659c915fb28fd88fc927d0f69f0dadcecd5d07
BLAKE2b-256 checksum
How to use checksums
5830e1602cfc2b47fbe9c07d0893f6e88de925d7d9aceb05d45acb15aef1544f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.10

Security for odoo13-addon-auth-oauth-autologin 13.0.1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page