Hello! :)
I have a question concerning email addresses in Keycloak:
I have user accounts in LDAP or AD. They are not imported into Keycloak,
Keycloak has read-only access to them. Thus I assume that the backend is
queried when needed.
When a user, who has logged in via Keycloak earlier, gets a new email
address in LDAP, this information is not updated in Keycloak. I can
search for the account, the overview still has the old address.
When I delete a user in LDAP/AD and create a new one with the same email
address later, it also complains that the address is assigned to someone
else already. So the sub claim and the email address seem to stay
connected even if the account is removed from the backend IdM.
What can I do about this situation as a Keycloak admin? Where does
Keycloak even keep this information? I didn't find anything in the database.
Is it related to the cache setting? They look like this:
my realm -> user federation -> ldap -> Cache policy "default"
master realm -> user federation -> ldap -> MAX_LIFESPAN 300000 ms
This sound as if my cache should be refreshed after 5 minutes, but the
update of the email address didn't happen even after days.
I would like to understand this better, so I am grateful for any hint on
where to look / what to read.
(I cannot turn on the preview feature update-email and I couldn't ask
the users to correct it themselves either.)
Greetings, Silke
--
Silke Meyer
IT Consultant
Phone:
+49 (0) 421 22232-106
Mobile:
+49 (0) 152 530 543 05
E-Mail :
silke...@univention.de
Univention GmbH
Mary-Somerville-Str. 1
28359 Bremen
Germany | Deutschland
Phone: +49 (0) 421 22232-0 | E-Mail:
in...@univention.de
https://www.univention.de |
https://www.univention.com
Managing Directors: Peter H. Ganten, Stefan Gohmann
Local court: Amtsgericht Bremen
HRB 20755 | Ust-ID: DE220051310
If you are not the intended recipient of this mail, please contact the
sender and delete this message. Any unauthorized copying of this message
or unauthorized distribution of the information contained herein is
prohibited.Information on the processing of your personal data can be
found here:
https://www.univention.com/privacy-statement