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
Release history Release notifications | RSS feed
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
Close
Hashes for allauth-socialaccount-provider-keycloak-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a54fdb4ba27888bcb3748df537d5f0158ec267e1f11c19f95ecc5decca1271a |
|
MD5 | 4c5e6bdd0e2c5c26cd34c73c96d06fc8 |
|
BLAKE2b-256 | 5ff6414695304292c04b659dd763413dc6f2c5784afde4c514f54a9e261f1a87 |
Close
Hashes for allauth_socialaccount_provider_keycloak-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd08bf27f93f650efa8d1e2d7576171560d328a0129194538777c02358660ba4 |
|
MD5 | d2b13dedaf01afa5517ab6c34555ad20 |
|
BLAKE2b-256 | 7af226c9bfc7325d82cd7cf6b9eddb0933dbe6b84393b2c300c31bfabb65e253 |