[keycloak-user] SAML Mappers

Marek Posolda mposolda at redhat.com
Thu May 26 16:34:07 EDT 2016


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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160526/296e4200/attachment.html 


More information about the keycloak-user mailing list