I’m testing some stuff locally and can’t seem to make sense of why some of my mappers work and others don’t. I have an Identity Provider set up with three mappers, fistName, lastName, and email.
However after doing an sso sign in via the identity provider, the email will not update to the value shown in the saml. Am I missing something here? Is there some limitation I am unaware of?
In “Realm settings” → Tab “Login” you can configure how KC handles the Email for Login. Have you tried “Email as username” and “Login with email” set to OFF? Maybe that settings have an influence on how Email Attribute is synced.
(In SAML standard, Email Attribute should normally be delivered as FriendlyName=“mail” and Name=“urn:oid:0.9.2342.19200300.100.1.3”)
I’m on Keycloak 19, I don’t see the “Email as Username” option, I assume that is added in a later version. Tried with “Login with email” option turned off, no luck.
Also tried with updating attributes on the client and identity provider mapper to match standards, but no change.