Closed yalattas closed 1 year ago
Probably use AUTH_USER_MODEL = "django_keycloak.KeycloakUser"
in your settings. However, this will limit functionality of saving user info into the DB. As your use-case is not a requirement of the core developers, I do not think they will take it up, but if you submit a quality MR, they're open to improvements.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Describe the bug A user has been registered to keyCloak and has username and password but no email (username can be phone number OR a string). if user attempts to login into Django backend, Django is throwing
IntegrityError
To Reproduce Steps to reproduce the behavior:
http://localhost:8000/admin/
workaround:
Expected behavior Allowing access to Django admin with no email
Screenshots
Desktop (please complete the following information):
FROM python:3.11-slim-bullseye
FROM quay.io/keycloak/keycloak:18.0
Additional context Main dependencies