Skip to content

Commit 018a414

Browse files
committed
Remove invalid nameid-format
The nameid format urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified is invalid and not specified by any spec. Signed-off-by: Ivan Kanakarakis <[email protected]>
1 parent c3d2f15 commit 018a414

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/saml2/saml.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@
2525

2626
NAMEID_FORMAT_EMAILADDRESS = (
2727
"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress")
28-
NAMEID_FORMAT_UNSPECIFIED1 = (
29-
"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified")
3028
NAMEID_FORMAT_UNSPECIFIED = (
31-
"urn:oasis:names:tc:SAML:2.0:nameid-format:unspecified")
29+
"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified")
3230
NAMEID_FORMAT_ENCRYPTED = (
3331
"urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted")
3432
NAMEID_FORMAT_PERSISTENT = (

0 commit comments

Comments
 (0)