Skip to main content

Keycloak auth integration

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

This module adds support for SSO authentication via Keycloak

Table of contents

Configuration

Settings -> Users -> OAuth Providers -> Keycloak

Adjust endpoints according to your setup.

Enable it: tick “Allowed”.

Official docs: https://www.keycloak.org/docs

Usage

Frontend

When the provider is enabled you’ll see an extra login button on login form. Click on it to get redirected to Keycloak.

Backend

Link existing users from Keycloak

If you have existing users in Odoo and they are not linked to Keycloak yet you can:

  1. get back to Settings -> Users -> OAuth Providers -> Keycloak

  2. configure “Users management” box

  3. click on “Sync users” button

  4. select the matching key

  5. submit

Once the it’s done all matching and updated users will be listed in a list view. Now your users will be able to log in on Keycloak

Push new users to Keycloak

Usually Keycloak is already populated w/ your users base. Many times this will come via LDAP, AD, pick yours.

Still, you might need to push some users to Keycloak on demand, maybe just for testing.

If you need this, either you

  1. go to a single user form

  2. hit the button “Push to Keycloak” (in the header)

  3. use the wizard to push it

or

  1. go to the users list view

  2. select some users

  3. click on Actions -> Push to Keycloak

  4. select “Keycloak” provider

  5. push them all

Changelog

10.0.1.0.0 2018-10-17

  • Initial implementation

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.

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

Credits

Authors

  • Camptocamp

Contributors

Other credits

Development sponsored by Sensefly and UTB.

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.

Metadata

Release files for odoo12-addon-auth-keycloak 12.0.0.0.0

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

Source distribution (sdist)

Source distribution for odoo12-addon-auth-keycloak 12.0.0.0.0
File Size Uploaded Provenance
odoo12-addon-auth_keycloak-12.0.0.0.0.tar.gz 46.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for odoo12-addon-auth-keycloak 12.0.0.0.0
File Interpreter ABI Platform
odoo12_addon_auth_keycloak-12.0.0.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 105.9 kB

Release files / odoo12-addon-auth_keycloak-12.0.0.0.0.tar.gz

Download URL odoo12-addon-auth_keycloak-12.0.0.0.0.tar.gz
Size 46.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f558c170144eaddeab1bd46f99d1acd68cf11c18d783a9edce9fc88268b98448
BLAKE2b-256 checksum
How to use checksums
4d0dfe71fb9ab916014c4211ad563998717471030f062023a63df57c3993f45a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.7

Release files / odoo12_addon_auth_keycloak-12.0.0.0.0-py2.py3-none-any.whl

Download URL odoo12_addon_auth_keycloak-12.0.0.0.0-py2.py3-none-any.whl
Size 59.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
748f7ae6ec6927f38cb0f12e4fa31ebe4fc5ea8987aca1893711ff1d66ce1f20
BLAKE2b-256 checksum
How to use checksums
49263e0b00b51d2e862f01c8082bf90c3bafd46d0b7c913d7e4f2166225b0604
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.7

Security for odoo12-addon-auth-keycloak 12.0.0.0.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.

Release history Release notifications | RSS feed

This release

12.0.0.0.0 This release

2 release files No provenance

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