Metadata-Version: 2.1
Name: django-admin-keycloak
Version: 0.1.2
Summary: Django Admin Keycloak
Author: Михаил
Author-email: migel.bd@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: python-keycloak (>=3.7.0,<4.0.0)
Description-Content-Type: text/markdown

# django-admin-keycloak


### Settings 
```python
KEYCLOAK_CONFIG = {
    'enabled': True,
    'name': 'OIDC', # name in link
    'redirect_url': '/',  # redirect url if user not staff
    'superuser_role': 'django_super_user',
    'staff_role': 'django_staff_user',
    'options': {
        'server_url': 'http://keycloak:port',
        'client_id': '<CLIENT_ID>',
        'realm_name': '<REALM_NAME>',
        'client_secret_key': '<TOKEN>',
    }
}


```

