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
Built Distribution
Hashes for keycloakauth-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8197aa6c8693b3ec4635d8098c3978f2d383771edf659233308fd16cb24ebea1 |
|
MD5 | 8dca1ac6f6dc5ff146bd3847874c603f |
|
BLAKE2b-256 | 647aac6c8a93e2002624b14de1d6b9a2cd0e5acccb3690d300fa6af1f51bcae3 |