Keycloak ID_KEY should be read from settings
derlin opened this issue · 0 comments
derlin commented
The docstring in social_core/backends/keycloak.py#L88-L91 states:
- The default behaviour is to associate users via username field, but you
can change the key with e.g.SOCIAL_AUTH_KEYCLOAK_ID_KEY = 'email'
However, the ID_KEY
is hard-coded instead of being read from the settings, see social_core/backends/keycloak.py#L153.