|
| 1 | +Single Sign-On |
| 2 | +============== |
| 3 | + |
| 4 | +.. note:: |
| 5 | + |
| 6 | + This feature only exists on `Read the Docs for Business <https://readthedocs.com/>`__. |
| 7 | + |
| 8 | + |
| 9 | +Single Sign-On is supported on |com_brand| for Pro and Enterprise plans. |
| 10 | +:abbr:`SSO (Single Sign-On)` will allow you to grant permissions to your organization's projects in an easy way. |
| 11 | + |
| 12 | +Currently, we support two different types of Single Sign-On: |
| 13 | + |
| 14 | +* Authentication *and* authorization are managed by the Identity Provider (e.g. GitHub, Bitbucket or GitLab) |
| 15 | +* Authentication is managed by the Identity Provider (e.g. a ``@company.com`` verified email address) |
| 16 | + |
| 17 | +.. note:: |
| 18 | + |
| 19 | + SSO is currently in **Beta** and only GitHub and Company Email are supported for now. |
| 20 | + If you would like to apply for the Beta, please ` contact us < mailto:[email protected]>`_. |
| 21 | + |
| 22 | +.. contents:: |
| 23 | + :local: |
| 24 | + :depth: 2 |
| 25 | + |
| 26 | + |
| 27 | +SSO with VCS provider (GitHub, Bitbucket or GitLab) |
| 28 | +--------------------------------------------------- |
| 29 | + |
| 30 | +Using an Identity Provider that supports authentication and authorization allows you to manage |
| 31 | +"who have access to what projects on Read the Docs" directly from the provider itself. |
| 32 | +In case you want a user to have access to your documentation project under Read the Docs, |
| 33 | +that user just needs to be granted permissions in the VCS repository associated with it. |
| 34 | + |
| 35 | +Note the users created under Read the Docs must have their GitHub, Bitbucket or GitLab |
| 36 | +:doc:`account connected </connected-accounts>` in order to make SSO to work. |
| 37 | + |
| 38 | +.. note:: |
| 39 | + |
| 40 | + You can read more about `granting permissions on GitHub`_. |
| 41 | + |
| 42 | + .. _granting permissions on GitHub: https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization |
| 43 | + |
| 44 | + |
| 45 | +Grant access to read the documentation |
| 46 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 47 | + |
| 48 | +By granting **read** (or more) permissions to a user in the VCS repository |
| 49 | +you are giving access to read the documentation of the associated project on Read the Docs to that user. |
| 50 | + |
| 51 | + |
| 52 | +Grant access to administrate a project |
| 53 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 54 | + |
| 55 | +By granting **write** permission to a user in the VCS repository |
| 56 | +you are giving access to read the documentation *and* to be an administrator |
| 57 | +of the associated project on Read the Docs to that user. |
| 58 | + |
| 59 | + |
| 60 | +Grant access to import a project |
| 61 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 62 | + |
| 63 | +When SSO with VCS provider is enabled only owners of the Read the Docs organization can import projects. |
| 64 | +Adding users as owners of your organization will give them permissions to import projects. |
| 65 | + |
| 66 | +Note that to be able to import a project, that user must have **admin** permissions in the VCS repository associated. |
| 67 | + |
| 68 | + |
| 69 | +SSO with your company email address |
| 70 | +----------------------------------- |
| 71 | + |
| 72 | +Using your company's email address (e.g. `` [email protected]``) allows you to |
| 73 | +"grant **read** access to all the projects under your organization to users with a ``@company.com`` verified email address". |
| 74 | + |
| 75 | + |
| 76 | +Grant access to administer a project |
| 77 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 78 | + |
| 79 | +You can add a user under an "Admin Team" to grant **admin** permissions to all the projects under that Team. |
| 80 | +This can be done under "your organization detail's page" > :guilabel:`Teams` > :guilabel:`Admins` > :guilabel:`Invite Member`. |
| 81 | + |
| 82 | + |
| 83 | +Grant access to users to import a project |
| 84 | +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 85 | + |
| 86 | +Making the user member of any "Admin Team" under your organization (as mentioned in the previous section), |
| 87 | +they will be granted access to import a project. |
| 88 | + |
| 89 | +Note that to be able to import a project, that user must have **admin** permissions in the GitHub, Bitbucket or GitLab repository associated, |
| 90 | +and their social account connected with Read the Docs. |
0 commit comments