Skip to content

Commit 0699f92

Browse files
authored
SAML: update docs (#11583)
* SAML: update docs - Re-arrange and rename some sections, so the user follows a more logical order. - Adding detailed steps for enabling SAML on Read the Docs, leaving just the domain configuration to do it via support. - Clarify user management and team configuration * Updates from review
1 parent 2d34a5e commit 0699f92

File tree

1 file changed

+56
-33
lines changed

1 file changed

+56
-33
lines changed

docs/user/guides/set-up-single-sign-on-saml.rst

Lines changed: 56 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Prerequisites
1818

1919
.. include:: /shared/organization-permissions.rst
2020

21-
Create a new SAML application in Okta
22-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21+
Create a SAML application in Okta
22+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2323

2424
In order to enable SSO with Okta, you need to create a new SAML application in your Okta account.
2525

@@ -51,56 +51,79 @@ In order to enable SSO with Okta, you need to create a new SAML application in y
5151
8. Select ``This is an internal app that we have created``.
5252
9. Click :guilabel:`Finish`.
5353

54-
User setup
55-
~~~~~~~~~~
54+
Enable SAML on your Read the Docs organization
55+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5656

57-
Using this setup, all users who have access to the configured Okta application will automatically join to your Read the Docs organization when they sign up.
58-
Existing users will not be automatically joined to the organization.
57+
Once you have created the SAML application in Okta, you need to enable SAML on Read the Docs.
5958

60-
You can still add outside collaborators and manage their access.
61-
There are two ways to manage this access:
62-
63-
* Using :doc:`teams </guides/manage-read-the-docs-teams>` to provide access for ongoing contribution.
64-
* Using :doc:`sharing </commercial/sharing>` to provide short-term access requiring a login.
59+
1. Copy the Metadata URL from the Okta application you just created.
6560

66-
Enabling SSO
67-
------------
61+
* On Okta, click on the :guilabel:`Applications`.
62+
* Click on the Read the Docs application.
63+
* Click on the :guilabel:`Sign On` tab.
64+
* Copy the :guilabel:`Metadata URL`.
6865

69-
Enabling SSO is currently done by the Read the Docs team,
70-
contact :doc:`support </support>` to enable this feature for your organization.
66+
2. Go you your `organization's SAML settings page <https://readthedocs.com/organizations/choose/organization_saml/>`__.
67+
3. Paste the Metadata URL in the :guilabel:`Metadata URL` field.
68+
4. Leave the domain field empty.
69+
5. Click :guilabel:`Save`.
7170

72-
By default, users that sign up with SAML do not have any permissions over any project.
73-
However, you can define which teams users will auto-join when they sign up.
71+
Attaching the email domain your organization uses to enforce SAML is currently done by the Read the Docs team,
72+
contact :doc:`support </support>` using an account that's an owner of the organization.
7473

75-
After enabling the SAML integration,
76-
all users with email addresses from your configured domain will be required to signup using SAML.
74+
Configure a team for users to join automatically
75+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7776

78-
.. warning::
77+
After you have enabled SAML on your organization,
78+
a team named "SAML Users" will be created automatically,
79+
and all users that sign up with SAML will be automatically joined to this team.
80+
You can delete this team, or configure a different team or teams for users to join automatically.
7981

80-
Existing users with email addresses from your configured domain will not be required to sign up using SAML,
81-
but they won't be automatically joined to your organization.
82-
83-
Configure team for all users to join
84-
------------------------------------
85-
86-
You can mark one or more teams that users will automatically join when they sign up with a matching email address.
87-
Configure this option by:
82+
To configure a team for users to join automatically:
8883

8984
1. Navigate to the `teams management page <https://readthedocs.com/organizations/choose/organization_team_list/>`__.
9085
2. Click the :guilabel:`<team name>`.
9186
3. Click :guilabel:`Edit team`
9287
4. Enable *Auto join users with an organization's email address to this team*.
9388
5. Click :guilabel:`Save`
9489

95-
With this enabled,
96-
all users that sign up with SAML will automatically join this team.
97-
These teams can have either *read-only* or *admin* permissions over a set of projects.
90+
User management
91+
---------------
92+
93+
New users
94+
~~~~~~~~~
95+
96+
After enabling the SAML integration,
97+
all users with an email domain matching the one in your SAML integration will be required to sign up using SAML.
98+
After they sign up, they will be automatically joined to your organization within the teams you have configured to auto-join users.
99+
100+
Existing users
101+
~~~~~~~~~~~~~~
102+
103+
Existing users with email addresses from your configured domain will not be required to sign in using SAML,
104+
but they won't be automatically joined to your organization.
105+
106+
If you want to enforce SAML for existing users, you have the following options:
107+
108+
- Users can delete their accounts, and sign up again using SAML.
109+
- Users can link their existing accounts to their SAML identity by following this link while logged in their Read the Docs account:
110+
``https://readthedocs.com/accounts/saml/<organization-slug>/login/?process=connect`` (replace ``<organization-slug>`` with your organization slug).
111+
You can find this link in your `organization's SAML settings page <https://readthedocs.com/organizations/choose/organization_saml/>`__.
112+
113+
Outside collaborators
114+
~~~~~~~~~~~~~~~~~~~~~
115+
116+
You can still add outside collaborators that don't use SAML and manage their access.
117+
There are two ways to manage this access:
118+
119+
* Using :doc:`teams </guides/manage-read-the-docs-teams>` to provide access for ongoing contribution.
120+
* Using :doc:`sharing </commercial/sharing>` to provide short-term access requiring a login.
98121

99122
Revoke user's access to all the projects
100-
----------------------------------------
123+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101124

102125
By disabling access to the SAML integration to a user,
103-
you revoke access to all the projects the linked Read the Docs user had access to,
126+
you revoke access to all the projects their linked Read the Docs user had access to,
104127
and disable login on Read the Docs completely for that user.
105128

106129
.. warning::

0 commit comments

Comments
 (0)