Skip to content

Commit

Permalink
Fixes #447
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 3, 2024
1 parent e54b902 commit a90e51e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ private Map<String, Object> parseEntity(EntityType entityType,
}
break;
case "NameIDFormat": {
if (inCorrectEntityDescriptor) {
if (inCorrectEntityDescriptor && !entityType.equals(EntityType.IDP)) {
String elementText = reader.getElementText();
metaDataFields.put("NameIDFormat", elementText);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"NameIDFormat" : "urn:oasis:names:tc:SAML:2.0:nameid-format:transient",
"OrganizationDisplayName:en" : "SURFdropjes Beta",
"OrganizationDisplayName:nl" : "SURFdropjes Beta",
"OrganizationName:en" : "SURFdropjes Beta",
Expand Down

0 comments on commit a90e51e

Please sign in to comment.