Skip to main content

allauth oauth2 provider for Keycloak

Project description

allauth-socialaccount-provider-keycloak

install

pip install -i https://test.pypi.org/simple/ allauth-socialaccount-provider-keycloak

configure

INSTALLED_APPS = [
    ...
    'django.contrib.sites',
    ...
    #
    'allauth',
    'allauth.account',
    'allauth.socialaccount',
    'allauth_socialaccount_provider_keycloak',
    ...
]

AUTHENTICATION_BACKENDS = (
    'django.contrib.auth.backends.ModelBackend',
    'allauth.account.auth_backends.AuthenticationBackend',
)

SOCIALACCOUNT_PROVIDERS = {
    'keycloak': {
        'KEYCLOAK_URL': "https://sso.grafcan.es/auth/realms/demo",
    }
}

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page