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

File details

Details for the file allauth-socialaccount-provider-keycloak-0.1.1.tar.gz.

File metadata

  • Download URL: allauth-socialaccount-provider-keycloak-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for allauth-socialaccount-provider-keycloak-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4a54fdb4ba27888bcb3748df537d5f0158ec267e1f11c19f95ecc5decca1271a
MD5 4c5e6bdd0e2c5c26cd34c73c96d06fc8
BLAKE2b-256 5ff6414695304292c04b659dd763413dc6f2c5784afde4c514f54a9e261f1a87

See more details on using hashes here.

File details

Details for the file allauth_socialaccount_provider_keycloak-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for allauth_socialaccount_provider_keycloak-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dd08bf27f93f650efa8d1e2d7576171560d328a0129194538777c02358660ba4
MD5 d2b13dedaf01afa5517ab6c34555ad20
BLAKE2b-256 7af226c9bfc7325d82cd7cf6b9eddb0933dbe6b84393b2c300c31bfabb65e253

See more details on using hashes here.

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