Good morning Aliaksandr,
I’m assuming you are referring to configure custom nameid page under the SAML section? If so, then yes there is nothing there. I had at one point added ‘emailid’ to it. but when looking at saml-nameid.xml.vm I had noticed there were two entries for it. one I had created manually and another, I assume, was created from the web ui. After that, I had deleted the one on the web ui.
The current state of this web UI control is far from ideal. It's guaranteed to work only in a few specific cases. This is a known issue and will be attended in the next major release. Until then, I would recommend to remove the nameid configuration you created in web UI, and use the manual way of adding nameid, described in the same document.
The use next format urn:oasis:names:tc:SAML:2.0:nameid-format:emailAddress was taken from our idp dev server. During the initial upgrade of our dev environment, Mohib had added it to show us how it was done. It turned out that we don’t have anything in dev that was using ‘emailid’, so it was never tested before this.
Regarding the definition of "emailid" attribute in particular, one thing worries me. You use next format for it : urn:oasis:names:tc:SAML:2.0:nameid-format:emailAddress According to certain claims, it may not a correct format, and urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress is the valid one.
I have gone over that document several times in the past week. And the example code blocks are also using the urn:oasis:names:tc:SAML:2.0:nameid-format:emailAddress format. Which matched what Mohib had entered in out dev build.
To be specific, this is the document I mean: link.
I’m not sure what you mean by this. But the sp is expecting an email address
By the way, nameid of what format are you trying to add?
Last, I would like to apologize. Going through this upgrade on dev and prod is the first I have ever had to touch gluu/saml/shibboleth in this capacity.