allauth-socialaccount-provider-keycloak
install
pip install 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",
}
}
Release files for allauth-socialaccount-provider-keycloak 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| allauth-socialaccount-provider-keycloak-0.1.2.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| allauth_socialaccount_provider_keycloak-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB