Idira Identity: SAML authentication failed with the error NameIdentifier value is not a valid URI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Workforce Identity Articles
1 min read
L2 Linker
No ratings

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.

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. 
Rate this article:
  • 738 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 12:07 PM
Updated by: