Idira Identity: SAML authentication failed with the error NameIdentifier value is not a valid URI
81
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 16:05 PM
Question
We have integrated using the "Integrate an external IdP option" with SAML. However, the following behavior is observed at the authentication.
1. User enters the username at the Identity portal
2. User gets redirected to the IdP login portal, and he enters his username and password.
3. User gets redirected to the Identity portal, but he is not logged in.
We noticed that there is an error with System.Xml.XmlException: ID4262: The SAML NameIdentifier '<user>' is of format 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity' and its value is not a valid URI.
Environment
Identity
Answer
As the error was returned by "System.Xml.XmlException". This error indicates that the SAML response received from your identity provider specified urn:oasis:names:tc:SAML:2.0:nameid-format: entity in the Format attribute of the saml:NameID element, but the contents are not a valid URI.
Please verify the Issuer and the URI you provided in the SAML response. The given value is not valid.