Last updated

Add an identity provider (IdP)

Add SSO identity providers in Reunite, so users can use them for logging into Reunite as well as individual projects. After you have added an IdP in Reunite, the identity provider can then be configured in the redocly.yaml configuration file for individual projects.

Before you begin

Make sure you have the following before you begin:

  • A SAML 2 or OpenID Connect-based identity provider
  • The following information about your identity provider:
    • SAML 2
      • Single sign on URL
      • Issuer ID
      • x509 public certificate
    • OpenID Connect
      • Either a configuration JSON or URL
      • Client ID
      • Client Secret
  • If you plan to use RBAC, add teams before completing this step.
  • owner role in your organization

Add a Corporate identity provider (IdP)

A Corporate identity provider is used to authenticate internal users into Reunite and projects. You can only add one Corporate identity provider for your organization.

  1. Log in to your Redocly instance.
  2. Select SSO and login in the navigation menu on the left side of the page.
  3. In the Corporate row under Identity Provider, click + Add and select the type of identity provider you want to add - either SAML 2 or OpenID Connect.
  4. Complete the form based on the information you have gathered about your SSO identity provider.
  5. Click Save.

Add a Guest identity provider (IdP)

A Guest identity provider is used to authenticate external users into projects. You can only add one Guest identity provider for your organization.

  1. Log in to your Redocly instance.
  2. Select SSO and login in the navigation menu on the left side of the page.
  3. In the Guest row under Identity Provider, click + Add and select the type of identity provider you want to add - either SAML 2 or OpenID Connect.
  4. Complete the form based on the information you have gathered about your SSO identity provider.
  5. Click Save.

Team mapping

Team mapping is an option when you add a Corporate or Guest IdP. The option name differs depending on the protocol you are using to connect:

  • For OpenID Connect, the option is referred to as team claim mapping.
  • For SAML 2, the option is referred to as team attribute mapping.

In both instances, team mapping is a way to map your internal IdP group names to either Redocly default teams based on organization roles or project RBAC teams configured in your redocly.yaml file.

Verified domains

Verified domains are a way for you to connect users with a given organization. They only apply to corporate identity providers when logging into Reunite, not logging in to projects. You can add a Verified domain on the SSO and login page in Reunite.

When you add a Verified domain to your organization, users logging in to Reunite with the verified domain email are automatically directed to the corporate identity provider, with the option to use Redocly credentials or social logins. If you also select to require SSO authentication, users logging in to Reunite with the verified domain email domain can only log in using the corporate identity provider.

Require SSO authentication

You can require SSO authentication for all members of your organization by selecting the Require SSO authentication for all members of the Redocly organization checkbox on the SSO and Login page. Selecting this checkbox means that if you have rbac configured, users must log in with SSO credentials and if they do not have SSO credentials, they will lose access to the organization.

attention

Requiring SSO authentication does not require users to log in to your project. To require login to your project, you must configure rbac. See Configure RBAC for more information.

  • If you want to specify which identity providers users can use to log in to your project with or if you want to disable SSO, follow the instructions in the Configure SSO how-to documentation.
  • If you want to limit access to certain pages in your project or in Reunite, follow the instructions in the Configure RBAC how-to documentation.

Resources