<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<span style="background-color:#e4e4ff;">mappers.UsernameTemplateMapper
) and you configure the template attribute with value: <br>
ATTRIBUTE.mail<br>
<br>
Hope it helps,<br>
Marek<br>
</span>
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<br>
On 26/05/16 21:59, robinfernandes . wrote:<br>
</div>
<blockquote
cite="mid:CAFOTW4Yf=g49qQp1+XnHeAeWcN7KsWHk13MeeFQ7z4HsDbmBBA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi All,<br>
<br>
I am trying to connect Shibboleth IdP as an external IdP with
Keycloak acting as an SP. <br>
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. <br>
<br>
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? <br>
<br>
Thanks,<br>
Robin</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-user">https://lists.jboss.org/mailman/listinfo/keycloak-user</a></pre>
</blockquote>
<br>
</body>
</html>