Skip to content

Commit 4cab835

Browse files
author
Roland Hedberg
committed
Allow unknown attribute configuration used.
1 parent d55b9fd commit 4cab835

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/saml2/client_base.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -507,11 +507,13 @@ def parse_authn_request_response(self, xmlstr, binding, outstanding=None):
507507

508508
resp = None
509509
if xmlstr:
510-
kwargs = {"outstanding_queries": outstanding,
511-
"allow_unsolicited": self.allow_unsolicited,
512-
"return_addr": self.service_url(),
513-
"entity_id": self.config.entityid,
514-
"attribute_converters": self.config.attribute_converters}
510+
kwargs = {
511+
"outstanding_queries": outstanding,
512+
"allow_unsolicited": self.allow_unsolicited,
513+
"return_addr": self.service_url(),
514+
"entity_id": self.config.entityid,
515+
"attribute_converters": self.config.attribute_converters,
516+
"allow_unknown_attributes": self.config.allow_unknown_attributes}
515517
try:
516518
resp = self._parse_response(xmlstr, AuthnResponse,
517519
"assertion_consumer_service",

0 commit comments

Comments
 (0)