Skip to content
Snippets Groups Projects
Unverified Commit 3a00bd13 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Add additional logging for SAML sessions. (#7971)

parent f23c7738
No related branches found
No related tags found
No related merge requests found
Log the SAML session ID during creation.
...@@ -96,6 +96,9 @@ class SamlHandler: ...@@ -96,6 +96,9 @@ class SamlHandler:
relay_state=client_redirect_url relay_state=client_redirect_url
) )
# Since SAML sessions timeout it is useful to log when they were created.
logger.info("Initiating a new SAML session: %s" % (reqid,))
now = self._clock.time_msec() now = self._clock.time_msec()
self._outstanding_requests_dict[reqid] = Saml2SessionData( self._outstanding_requests_dict[reqid] = Saml2SessionData(
creation_time=now, ui_auth_session_id=ui_auth_session_id, creation_time=now, ui_auth_session_id=ui_auth_session_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment