iMerica / dj-rest-auth

Authentication for Django Rest Framework
https://dj-rest-auth.readthedocs.io/en/latest/index.html
MIT License
1.67k stars 311 forks source link

Keycloak integration username #452

Open sergiocwork opened 1 year ago

sergiocwork commented 1 year ago

Using keycloak and a react frontend application to sign in, I can successfully login. However, keycloak has a username but for some reason it is not getting passed. dj-rest-auth registers a new user with the first_name instead of the username. Using allauth directly and curl commands, the username is correct. Why is dj-rest-auth not able to see the username from keycloak?