Skip to content

Commit

Permalink
[v15] [Docs] Add SAML Single Logout instructions to docs (#44570)
Browse files Browse the repository at this point in the history
* add saml slo instructions to docs

* CR
  • Loading branch information
rudream authored Jul 24, 2024
1 parent 9adafe7 commit 88d22c6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/pages/access-controls/sso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ create a `cluster_auth_preference` resource.
type: saml|oidc|github
```

(!docs/pages/includes/sso/idp-initiated.mdx!)
</TabItem>
<TabItem scope={["cloud","team"]} label="Dynamic Resources (All Editions)">
Create a file called `cap.yaml`:
Expand All @@ -278,7 +277,6 @@ create a `cluster_auth_preference` resource.
$ tctl create -f cap.yaml
```

(!docs/pages/includes/sso/idp-initiated.mdx!)
</TabItem>
</Tabs>

Expand All @@ -294,6 +292,8 @@ based on one of the following examples.

(!docs/pages/includes/sso/idp-initiated.mdx!)

(!docs/pages/includes/sso/saml-slo.mdx!)

</TabItem>
<TabItem label="OneLogin">

Expand Down Expand Up @@ -331,6 +331,8 @@ based on one of the following examples.

(!docs/pages/includes/sso/idp-initiated.mdx!)

(!docs/pages/includes/sso/saml-slo.mdx!)

</TabItem>
<TabItem label="GitHub">

Expand Down
9 changes: 9 additions & 0 deletions docs/pages/includes/sso/saml-slo.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Details title="SAML Single Logout">
Setting the `spec.single_logout_url` endpoint in SAML connectors enables SAML SLO (Single Logout).
If enabled, upon logging out of Teleport, users will also be logged out of the SAML provider session, which
may also log them out of any other non-Teleport applications which they are currently logged into using the same SAML provider.

For optimal user experience, we recommend keeping this disabled unless necessary.

Refer to your SAML provider's documentation for instructions on where to obtain this URL.
</Details>
3 changes: 3 additions & 0 deletions examples/resources/saml-connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ spec:
- access
# Provides a path to the IdP metadata.
entity_descriptor_url: https://example.okta.com/app/your-app-id/sso/saml/metadata
# Optional SAML Single Logout endpoint. If set, logging out of Teleport
# will also log the user out of the SAML provider session.
single_logout_url: https://example.okta.com/app/your-app-id/slo/saml

0 comments on commit 88d22c6

Please sign in to comment.