providers/saml: fix NotOnOrAfter using incorrect timestamp

This commit is contained in:
Jens Langhammer 2020-08-01 19:38:41 +02:00
parent 250e77f40f
commit 330bd0932b

View file

@ -173,7 +173,7 @@ class AssertionProcessor:
) )
if self.auth_n_request.id: if self.auth_n_request.id:
subject_confirmation_data.attrib["InResponseTo"] = 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 subject_confirmation_data.attrib["Recipient"] = self.provider.acs_url
return subject return subject