Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Docs
Start for Free

Self-Service SSO with an OIDC-based IdP

Configure an OIDC-based identity provider


Self-service single sign-on (SSO) is only available for organizations with and who previously set up their SSO using PingOne and need to migrate. If you're unsure if you need to migrate please see the Migration Guide. If you are setting up SSO for the first time, please refer to these instructions.

This guide walks through configuring a generic OpenID Connect (OIDC) based identity provider (IdP) for use with Apollo SSO. If you use Okta or Microsoft Entra ID as your IdP, instead see the corresponding guide for your IdP:

  • Okta
  • Microsoft Entra ID (formerly known as Azure Active Directory)

⚠️ CAUTION

If your organization's SSO was set up before April 2024, you must create a new SSO configuration with the updated instructions before November 15, 2024. After November 15, 2024, the legacy setup will no longer work, and your organization will lose access to .

Prerequisites

Setup requires:

  • Administrative access to your IdP
  • A GraphOS user account with the Org Admin role

Setup

OIDC-based SSO setup has these steps:

  1. Enter your SSO details in GraphOS Studio.
  2. Create a custom application for GraphOS in your IdP.
  3. Verify and configure OIDC details.
  4. Verify your SSO configuration works.
  5. Enable SSO in GraphOS Studio.

The SSO setup wizard in GraphOS Studio guides you through these steps.

Step 1. Enter your SSO details

  1. Go to GraphOS Studio. Open the Settings page from the top navigation. Open the Security tab from the left sidebar and click Migrate SSO. A setup wizard appears.
  2. Enter the Email domain(s) you are setting SSO up for. Click Continue.
  3. Select OIDC as the SSO type. Click Continue.

Step 2. Create a custom application

  1. Once you reach Step 2: Configure Your IdP in the wizard, open your IdP's admin dashboard in a separate browser tab.

  2. Create a new application in your SSO environment. While doing so, set the following values:

  3. Retrieve the following values from your SSO provider and enter them in the setup wizard.

  • Client ID: this should be a specific Application ID
  • Client Secret: a secret value you may need to first create in your IdP
  • Issuer: the issuer value from a OpenID Connect metadata document found in your IdP

Step 3. Configure OIDC to work with Apollo

  1. Verify that the Sign-in Redirect URL in your application matches the one shown in the GraphOS wizard.
  2. If your IdP permits it, set the following user attributes:
  • sub: user.email
    • The sub attribute should uniquely identify any particular user to GraphOS. In most cases, user.email or user.mail provides this unique mapping.
  • email: Your IdP's email attribute, often something like user.email
  • given_name: Your IdP's first name attribute, often something like user.firstName
  • family_name: Your IdP's last name attribute,often something like user.lastName
  1. Save this configuration in your IdP and click Next in the GraphOS wizard.

Step 4. Verify SSO Configuration

To verify that your SSO configuration works, click Login with new SSO in the wizard. This button a new login session in a new browser tab. Once you successfully login using your new configuration, click Next.

Step 5. Enable SSO

In the setup wizard, click the Complete button to finalize setup.

Once you click Complete, all users will be logged out of your organization, and will need to sign in again from https://studio.apollographql.com/login using SSO. To give them access, ensure you've assigned them to your new application in your IdP.

Once you've confirmed the new configuration works as expected, remove any legacy Apollo applications in your IdP if you have them.

Assign users in your IdP

Once your SSO setup is live, assign users to your new application in your IdP. Consult your IdP documentation if necessary. For help assigning the relevant groups and users, contact your SSO or Identity & Access Management team.

Previous
Microsoft Entra ID
Next
Multi-organization
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy

Company