Increase the default SAML session expirary time to 15 minutes. (#7664)

This commit is contained in:
Patrick Cloke 2020-06-11 07:55:45 -04:00 committed by GitHub
parent c746889bb0
commit b9df7f70bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

1
changelog.d/7664.misc Normal file
View File

@ -0,0 +1 @@
Increase the default SAML session expirary time to 15 minutes.

View File

@ -1454,7 +1454,7 @@ saml2_config:
# The lifetime of a SAML session. This defines how long a user has to # The lifetime of a SAML session. This defines how long a user has to
# complete the authentication process, if allow_unsolicited is unset. # complete the authentication process, if allow_unsolicited is unset.
# The default is 5 minutes. # The default is 15 minutes.
# #
#saml_session_lifetime: 5m #saml_session_lifetime: 5m

View File

@ -160,7 +160,7 @@ class SAML2Config(Config):
# session lifetime: in milliseconds # session lifetime: in milliseconds
self.saml2_session_lifetime = self.parse_duration( self.saml2_session_lifetime = self.parse_duration(
saml2_config.get("saml_session_lifetime", "5m") saml2_config.get("saml_session_lifetime", "15m")
) )
template_dir = saml2_config.get("template_dir") template_dir = saml2_config.get("template_dir")
@ -286,7 +286,7 @@ class SAML2Config(Config):
# The lifetime of a SAML session. This defines how long a user has to # The lifetime of a SAML session. This defines how long a user has to
# complete the authentication process, if allow_unsolicited is unset. # complete the authentication process, if allow_unsolicited is unset.
# The default is 5 minutes. # The default is 15 minutes.
# #
#saml_session_lifetime: 5m #saml_session_lifetime: 5m