From 330bd0932b1b6ab429ff1570d30d5444090de8a1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 1 Aug 2020 19:38:41 +0200 Subject: [PATCH] providers/saml: fix NotOnOrAfter using incorrect timestamp --- passbook/providers/saml/processors/assertion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/providers/saml/processors/assertion.py b/passbook/providers/saml/processors/assertion.py index 014817a88..d5e5fdab9 100644 --- a/passbook/providers/saml/processors/assertion.py +++ b/passbook/providers/saml/processors/assertion.py @@ -173,7 +173,7 @@ class AssertionProcessor: ) if self.auth_n_request.id: subject_confirmation_data.attrib["InResponseTo"] = self.auth_n_request.id - subject_confirmation_data.attrib["NotOnOrAfter"] = self._issue_instant + subject_confirmation_data.attrib["NotOnOrAfter"] = self._valid_not_on_or_after subject_confirmation_data.attrib["Recipient"] = self.provider.acs_url return subject