Skip to main content

Django Admin Keycloak

Project description

django-admin-keycloak

Settings

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>',
    }
}

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

django_admin_keycloak-0.1.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

django_admin_keycloak-0.1.0-py3-none-any.whl (7.6 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