Skip to content

Commit 1225656

Browse files
author
Roland Hedberg
committed
Configure whether unknown attribute should be allowed or not.
1 parent a46e175 commit 1225656

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/saml2/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
"discovery_response",
7979
"allow_unsolicited",
8080
"ecp",
81-
"name_id_format"
81+
"name_id_format",
82+
"allow_unknown_attributes"
8283
]
8384

8485
AA_IDP_ARGS = [
@@ -194,6 +195,7 @@ def __init__(self, homedir="."):
194195
self.entity_category = ""
195196
self.crypto_backend = 'xmlsec1'
196197
self.scope = ""
198+
self.allow_unknown_attributes = False
197199

198200
def setattr(self, context, attr, val):
199201
if context == "":

0 commit comments

Comments
 (0)