<div dir="ltr"><div>Hi,</div><div><br></div>While configuring Keycloak as SP with ADFS 2.0 as external IDP, the user authentication fails in my app&#39;s backend after passing the credentials in ADFS login page.<div><br></div><div>On investigating, Found out that the Username of the external user is stored by his email address in Keycloak-Users while the username is configured as &quot;LDAP entry dn&quot; for internal users in keycloak.</div><div><br></div><div>I wish to get the DN of this external user in the username field. Do we need to configure a mapper for the same? <br></div></div>