Skip to main content

Custom Keycloak Worker

Project description

Custom Keyclock Authentication Worker

based on Django Keycloak Auth (https://github.com/marcelo225/django-keycloak-auth) under MIT License

Class KeycloakWorker: to introspect the token to check if the token is active and which roles it bears to get userinfo about the token owner to manage Keycloak Group membership

Authentication and Authorization are based on Keycloak Roles: Role mapped to Group, User is a member of the Group. Roles: format: :user:manage example: crux:user:manage example: all:user:manage

Groups: format: _user_manage example: crux_user_manage example: all:user:manage

Users: Keycloak is supposed to has a User Federation (LDAP catalog, AD) Users are being found by username

Project details


Download files

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

Source Distribution

keycloakauth-0.0.3.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

keycloakauth-0.0.3-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

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