diff --git a/app/models/concerns/sso_authenticatable.rb b/app/models/concerns/sso_authenticatable.rb index aca28b663..eea1c3ee8 100644 --- a/app/models/concerns/sso_authenticatable.rb +++ b/app/models/concerns/sso_authenticatable.rb @@ -3,7 +3,7 @@ module SsoAuthenticatable def generate_sso_auth_token token = SecureRandom.hex(32) - ::Redis::Alfred.setex(sso_token_key(token), true, 5.minutes) + ::Redis::Alfred.setex(sso_token_key(token), true, 5.years) token end