Skip to content

SAML SSO support for session timeout attribute

Release notes

Problem to solve

GitLab should be aware of and honor session expiration times that are set in an IdP.

Intended users

User experience goal

Proposal

Some IdPs allow setting session time policies and that information is sent in a SAML attribute "SessionNotOnOrAfter". GitLab should honor it and if we reach that time, check with the IdP to see if the user is still authorized. This shouldn't be a configuration toggle. If we find a value in this attribute then we can save it and reference it.

Further details

Providers that support the "SessionNotOnOrAfter" attribute:

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by 🤖 GitLab Bot 🤖