Skip to content

Commit e8652f0

Browse files
author
Hans Hörberg
committed
Allows encrypted assertions with encryption key sent in the extension element.
1 parent b6c8938 commit e8652f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

example/idp2/idp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,7 @@ def do(self, query, binding_in, relay_state="", encrypt_cert=None,
335335

336336
_resp = IDP.create_authn_response(
337337
identity, userid=self.user,
338-
encrypt_cert=encrypt_cert,
339-
encrypt_assertion_self_contained=True,
340-
encrypted_advice_attributes=True,
338+
encrypt_cert_assertion=encrypt_cert,
341339
**resp_args)
342340
except Exception as excp:
343341
logging.error(exception_trace(excp))

0 commit comments

Comments
 (0)