By: Praveen Srinivasan user 23 Dec 2020 at 12:39 p.m. CST

1 Response
Praveen Srinivasan gravatar
Hi Team, I was trying to configure SP in gluu saml. Trust relationship creation is success. I've configured custom name id for **urn:oasis:names:tc:SAML:2.0:nameid-format:persistent** with email address. And the same is reflected in saml-nameid.xml as below ``` <bean parent="shibboleth.SAML2PersistentGenerator" p:attributeSourceIds="#{ {'mail'} }"/> ``` But the response is not having the email address in name id field. I am getting response like this ``` <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" NameQualifier="IdPEntityID" SPNameQualifier="SPEntityID" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">**LHDU#####ZJS######WR######QRB#####G** </saml2:NameID> ``` May I know what I did wrong or did I misss anything?

By Mohib Zico Account Admin 23 Dec 2020 at 9:40 p.m. CST

Mohib Zico gravatar
There are another type of nameID format... which is emailAddress / mail which is specifically for email address attribute. You might wanna use that instead of persistent type.