Skip to main content

Integrate Keycloak into your SSO

Project description

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

Simone Orsi <simone.orsi@camptocamp.com>

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo10_addon_auth_keycloak-10.0.1.1.0-py2-none-any.whl.

File metadata

  • Download URL: odoo10_addon_auth_keycloak-10.0.1.1.0-py2-none-any.whl
  • Upload date:
  • Size: 60.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/30.4.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

File hashes

Hashes for odoo10_addon_auth_keycloak-10.0.1.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 5bc3b7681f4b00b8283bd8dcbe452a12d5503183a138fe0617bade6a016d664b
MD5 cc6d38546b2fa8a2249f8c6e74926a90
BLAKE2b-256 c8ca159333437ef12218e2d2ba273fd61c18ba6cd17295cead3a5a3a076fb008

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page