Skip to content

Commit 1904b6d

Browse files
draft PR for session limit update
1 parent 5e38116 commit 1904b6d

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

content/manuals/security/faqs/general.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ You can configure this through SSO using your IdP. Check with your IdP if they s
3131

3232
### How are sessions managed and do they expire?
3333

34-
Docker uses tokens to manage sessions after a user signs in:
34+
By default, Docker uses tokens to manage sessions after a user signs in:
3535

3636
- Docker Desktop signs you out after 90 days, or 30 days of inactivity.
3737
- Docker Hub and Docker Home sign you out after 24 hours.
3838

39-
Custom settings per organization for sessions aren't supported. Currently,
40-
Docker does not support your IdP's default session timeout for SSO users.
39+
Docker also supports your IdP's default session timeout. You can configure this by setting a Docker session minutes SAML attribute. For more information, see [SSO attributes](/manuals/security/for-admins/provisioning/_index.md#sso-attributes).
4140

4241
### How does Docker attribute downloads to us and what data is used to classify or verify the user is part of our organization?
4342

content/manuals/security/faqs/single-sign-on/faqs.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,4 @@ No. There are no specific firewall rules required for configuring SSO, as long a
6565

6666
### Does Docker use my IdP's default session timeout?
6767

68-
No. Currently, Docker does not support your IdP's default session timeout for
69-
SSO users.
70-
71-
Docker's default user session timeouts are as follows:
72-
73-
- Docker Desktop signs you out after 90 days, or 30 days of inactivity.
74-
- Docker Hub and Docker Home sign you out after 24 hours.
68+
Yes, Docker supports your IdP's default session timeout. You can configure this by setting a Docker session minutes SAML attribute. For more information, see [SSO attributes](/manuals/security/for-admins/provisioning/_index.md#sso-attributes).

content/manuals/security/for-admins/provisioning/_index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ When a user signs in through SSO, Docker obtains several attributes from your Id
3838
- **Docker Org**: Optional. Specifies the organization the user belongs to
3939
- **Docker Team**: Optional. Defines the team the user belongs to within the organization
4040
- **Docker Role**: Optional. Determines the user's permission within Docker
41+
- **Docker session minutes**: Optional. Determine's the user's session limit. You can set the session minutes to support your IdP's default session timeout. If this is attribute is not provided, by default:
42+
- Docker Desktop signs you out after 90 days, or 30 days of inactivity.
43+
- Docker Hub and Docker Home sign you out after 24 hours.
4144

4245
If your organization uses SAML for SSO, Docker retrieves these attributes from the SAML assertion message. Keep in mind that different IdPs may use different names for these attributes. The following reference table outlines possible SAML attributes used by Docker:
4346

@@ -49,6 +52,7 @@ If your organization uses SAML for SSO, Docker retrieves these attributes from t
4952
| Docker Org (optional) | `dockerOrg` |
5053
| Docker Team (optional) | `dockerTeam` |
5154
| Docker Role (optional) | `dockerRole` |
55+
| Docker session minutes (optional) | `dockerSessionMinutes` |
5256

5357
## What's next?
5458

0 commit comments

Comments
 (0)