Skip to main content

Authentification - System Administrator Passkey

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

This module extends the functionality of users module to support loging in with an extra system administrator password in other user accounts.

  • System Administrator has now the possibility to login in with any login

  • According to the configuration, Odoo will send a mail to user and admin to indicate them

  • According to the configuration, password can be stored encrypted in configuration file

Table of contents

Configuration

To enable this feature, once the module installed, you have to add the following keys in your odoo.cfg configuration file.

  • auth_admin_passkey_password. The password that allows user to logging in with any login. If not set, the feature is disabled.

  • auth_admin_passkey_password_sha512_encrypted (default False), if enabled, auth_admin_passkey_password should be the password encrypted with sha512. On linux, this can be done using this command: echo -n YOUR_PASSWORD_AUTH_ADMIN_PASSKEY | sha512sum

  • auth_admin_passkey_send_to_user (default True), if enabled, an email will be send to the user, if his account has been used by the System Administrator.

  • auth_admin_passkey_sysadmin_email. If set, an email will be sent to this mail.

  • auth_admin_passkey_sysadmin_lang. the language (exemple en_US), used for the mail sent to the System Administrator. If not set, the language of the SUPERUSER_ID user will be used.

  • auth_admin_passkey_ignore_totp (default False), if enabled, then 2FA will be ignored.

typical Dev / Test configuration section

No keys to add.

typical Production configuration section

auth_admin_passkey_password = PASSKEY_PASSWORD
auth_admin_passkey_password_sha512_encrypted = True
auth_admin_passkey_send_to_user = True
auth_admin_passkey_sysadmin_email = SYSADMIN_EMAIL
auth_admin_passkey_sysadmin_lang = SYSADMIN_LANG

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

  • GRAP

Contributors

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.

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.

Release files for odoo-addon-auth-admin-passkey 18.0.1.0.0.5

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 odoo-addon-auth-admin-passkey 18.0.1.0.0.5
File Interpreter ABI Platform
odoo_addon_auth_admin_passkey-18.0.1.0.0.5-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_auth_admin_passkey-18.0.1.0.0.5-py3-none-any.whl

Download URL odoo_addon_auth_admin_passkey-18.0.1.0.0.5-py3-none-any.whl
Size 46.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ea173f9eebacc1ab71e30bcdbc25fb8ea0611c90537b03fdebdade9d1c4f8d28
BLAKE2b-256 checksum
How to use checksums
e02a92a945cc4aeecdd4c0ac17de0eca025866f80c5931ef8b9c31e053b04925
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3
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