providers/saml: change default NameID Format to emailAddress

This commit is contained in:
Jens Langhammer
2020-02-20 17:37:09 +01:00
parent 84fc54ddaa
commit 027a64fad2
3 changed files with 4 additions and 20 deletions

View File

@ -40,7 +40,7 @@ class Processor:
@property
def subject_format(self) -> str:
"""Get subject Format"""
return "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
return "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
def __init__(self, remote: "SAMLProvider"):
self.name = remote.name