semvec/pypi-packages huggingface dataset:
allauth-socialaccount-provider-keycloak 0.1.2
allauth oauth2 provider for Keycloak
Requires Python: >=3.6

# allauth-socialaccount-provider-keycloak

## install

`pip install allauth-socialaccount-provider-keycloak`

## configure

```python
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",
    }
}
```