You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having this issue: AttributeError at /keycloak/login
'NoneType' object has no attribute 'client' when attempting to login to my admin area on my site.
I am having this issue: AttributeError at /keycloak/login
'NoneType' object has no attribute 'client' when attempting to login to my admin area on my site.
I have followed each of the directions listed here to install django-keycloak to my application: https://django-keycloak.readthedocs.io/en/latest/index.html
This is a snippet of my settings.py:
middleware = [
'django_keycloak.middleware.BaseKeycloakMiddleware',
'django_keycloak.middleware.RemoteUserAuthenticationMiddleware',
]
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'pinax.announcements.auth_backends.AnnouncementPermissionsBackend',
'django_keycloak.auth.backends.KeycloakAuthorizationCodeBackend',
)
LOGIN_URL = 'keycloak_login'
urls.py
url(r'^keycloak/', include('django_keycloak.urls')),
Can someone please help me understand what is going on.
Also here are my setup for keycloak:
The text was updated successfully, but these errors were encountered: