I am not sure at 100% and didn't try, but it seems that what you need is
mapper of type "Username template importer" (corresponding Java class is
org.keycloak.broker.saml.mappers.UsernameTemplateMapper ) and you
configure the template attribute with value:
ATTRIBUTE.mail
Hope it helps,
Marek
On 26/05/16 21:59, robinfernandes . wrote:
Hi All,
I am trying to connect Shibboleth IdP as an external IdP with Keycloak
acting as an SP.
I get the email of the user with friendly name as "mail" back in the
SAML assertions. I want to set this as my username for this user in
Keycloak.
I am attaching a screenshot of my configurations for the mappers which
is not working. Maybe someone might have resolved this already or know
how to solve it?
Thanks,
Robin
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user