This is a plugin to use with the quetz package server. It implements a Keycloak authenticator using the OpenID protocol. Supported keycloak version: 18.0.1
To install use:
pip install .
Assuming that you are using the "master" realm and you implemented a "quetz" confidential OpenID client:
[keycloak]
url = "http://mydomain.com"
realm = "master"
client_id = "quetz"
client_secret = "myKeycloakClientSecret"
scope = "email profile"
- Make sure your users have a user name, login, and email defined in your realm. The authenticator will fail otherwise. This is a Quetz requirement to have these fields correctly filled.
- The Avatar is not working. Keycloak does not provide avatars by default.
- This module usage is limited to OpenID clients, but it could be extended
I am open to PRs and issues