Single Sign-On
Connect Okta, Microsoft Entra ID, or another OpenID Connect provider so members sign in with their work account and SCIM manages membership.
Use this page to connect one identity provider to a SuperPlane organization. Members then sign in with their work account, SuperPlane adds them on their first sign-in, and the identity provider can add and remove members through System for Cross-domain Identity Management (SCIM) 2.0. It is for organization admins who also have admin access to the identity provider.
Select Okta, Microsoft Entra ID, or Generic OIDC once. The tabs on this page stay in sync.
How Single Sign-On works
Section titled “How Single Sign-On works”- SuperPlane uses OpenID Connect (OIDC) with the authorization code flow and PKCE. Each organization has one connection.
- The login page finds the connection from the email domain. You prove that the organization owns the domain with a DNS TXT record.
- A person with an email address on a verified domain becomes a member on the first sign-in, with the default role. You can turn this off and use only SCIM.
- SCIM creates, updates and deactivates members. When the identity provider deactivates a person, SuperPlane removes the member and ends the session.
- The sign-in policy sets whether Single Sign-On is optional or required, and how long a session lasts.
Before you begin
Section titled “Before you begin”- The Admin role in the SuperPlane organization.
- Admin access to the identity provider.
- Access to the DNS of the email domain, such as
example.com.
1. Verify an email domain
Section titled “1. Verify an email domain”-
In SuperPlane, open Settings > Single Sign-On.
-
In Email domains, enter the domain of your work email addresses, such as
example.com, and click Add domain. -
Create the TXT record that SuperPlane shows at your DNS provider:
- Name:
_superplane-verification.example.com - Value:
superplane-domain-verification=followed by a token
- Name:
-
When the record is live, click Verify.
SuperPlane does not accept public email domains, such as gmail.com or outlook.com. A verified domain belongs to one organization only. Add a domain for each email domain that your members use.
2. Create the connection
Section titled “2. Create the connection”- In Identity provider, select the Provider.
- Enter a Display name. Members see this name on the login page.
- Click Create connection.
The Values for your identity provider card now shows the URLs that you copy into the identity provider:
| Value | Use |
|---|---|
| Redirect URI | The identity provider returns to this URL after sign-in. |
| Initiate login URI | The identity provider opens this URL when a person selects the SuperPlane tile in its app portal. |
| Post-logout redirect URI | The identity provider returns to this URL after sign-out. |
| Back-channel logout URI | The identity provider calls this URL to end a session (OIDC Back-Channel Logout). Not shown for Okta. |
| Global token revocation URL | Okta calls this URL to end a session (Universal Logout). |
3. Create the application in your identity provider
Section titled “3. Create the application in your identity provider”- In the Okta Admin Console, open Applications > Applications and click Create App Integration.
- Select OIDC - OpenID Connect and Web Application, then click Next.
- Enter an App integration name, such as
SuperPlane. Keep the Authorization Code grant type. - In Sign-in redirect URIs, remove the default value and paste the Redirect URI from SuperPlane.
- In Sign-out redirect URIs, paste the Post-logout redirect URI.
- In Assignments, select the people or groups that can use SuperPlane, then click Save.
- On the General tab, click Edit in Login. Set Login initiated by to Either Okta or App, paste the Initiate login URI, and click Save.
Okta fills Sign-in redirect URIs with /authorization-code/callback. Replace it, or the sign-in fails with an error about the redirect_uri parameter.
- In the Microsoft Entra admin center, open Identity > Applications > App registrations and click New registration.
- Enter a Name, such as
SuperPlane. In Supported account types, select Accounts in this organizational directory only. - In Redirect URI, select Web and paste the Redirect URI from SuperPlane. Click Register.
- Open Authentication. In Web > Redirect URIs, click Add URI, paste the Post-logout redirect URI, and click Save. Entra signs a person out only when the return URL is a registered redirect URI.
- Open Token configuration, click Add optional claim, select ID, select email and xms_edov, and click Add. Accept the prompt that adds the Microsoft Graph
emailpermission. - Open Certificates & secrets > Client secrets and click New client secret. Copy the Value, not the Secret ID. Entra shows the value only once.
- Open Branding & properties and paste the Initiate login URI in Home page URL. The SuperPlane tile in My Apps then starts the sign-in.
To limit access, open Enterprise applications, select the application, set Assignment required? to Yes in Properties, and add people or groups in Users and groups.
SuperPlane uses the oid claim as the stable user ID with this preset. The email claim comes from the Email property of the user in Entra. A person without an email address cannot sign in.
Entra does not send email_verified. The xms_edov claim is true when the tenant verified the domain of the email address. Without xms_edov, the first sign-in of each person fails.
Create a confidential OIDC client, such as a Keycloak client with Client authentication on, with these settings:
- Grant type: authorization code. SuperPlane sends PKCE with
S256. - Scopes:
openid,emailandprofile. - Redirect URI: the Redirect URI from SuperPlane.
- Post-logout redirect URI: the Post-logout redirect URI from SuperPlane.
- Initiate login URI, if the provider supports it: the Initiate login URI from SuperPlane.
The ID token must contain sub, email, email_verified and name. SuperPlane uses sub as the stable user ID. If the ID token has no email, SuperPlane reads email and email_verified from the UserInfo endpoint.
4. Enter the values from your identity provider
Section titled “4. Enter the values from your identity provider”In Values from your identity provider, enter these values and click Save:
- Issuer URL: your Okta org URL, such as
https://your_org.okta.com. Do not use the Admin Console URL, which contains-admin. - Client ID and Client secret: from Client Credentials on the General tab of the application.
- Issuer URL:
https://login.microsoftonline.com/your_tenant_id/v2.0. Copyyour_tenant_idfrom Directory (tenant) ID on the Overview page of the app registration. - Client ID: Application (client) ID on the Overview page.
- Client secret: the value that you copied in step 3.
- Issuer URL: the
issuervalue inhttps://your_provider/.well-known/openid-configuration. For Keycloak, this ishttps://your_keycloak_host/realms/your_realm. - Client ID and Client secret: from the client that you created.
SuperPlane reads the discovery document from the issuer URL. The Issuer URL must match the iss claim of the ID token exactly.
5. Test and activate the connection
Section titled “5. Test and activate the connection”- In Test and activate, click Test connection. A new window opens the identity provider.
- Sign in with an account that the application allows. SuperPlane shows the result and the email address of the test account.
- Click Activate.
You cannot activate the connection before a test passes. After you activate it, members see Continue with SSO on the login page.
6. Set up provisioning
Section titled “6. Set up provisioning”Create members on first sign-in
Section titled “Create members on first sign-in”In Provisioning, Create members on first sign-in is on by default. A person with an email address on a verified domain becomes a member with the Default role when they first sign in. Turn it off to add members only through SCIM or invitations.
The first sign-in of a person needs a verified email address from the identity provider: email_verified set to true, or xms_edov set to true for Microsoft Entra ID. Then SuperPlane links the sign-in to an existing SuperPlane account with the same email address, but only when the email domain is verified. Later sign-ins use the stable user ID. The seat limit of the organization applies.
Connect SCIM
Section titled “Connect SCIM”- In SCIM, enter a Token description and click Create token.
- Copy the token. SuperPlane shows it only once.
- Copy the SCIM base URL.
SCIM uses the primary email address of the user, or the userName when it is an email address. Then connect the identity provider:
In Okta, an app integration that uses OIDC has no Provisioning tab. Add a second application for SCIM, and assign the same people and groups to both applications.
- Open Applications > Browse App Catalog, search for SCIM 2.0 Test App (Header Auth), and click Add Integration.
- Enter an Application label, such as
SuperPlane SCIM. Select Do not display application icon to users, because members sign in through the OIDC application. Click Next. - In Sign-On Options, select Secure Web Authentication and Administrator sets username, password is the same as user’s Okta password. Set Application username format to Email and click Done.
- On the Provisioning tab, click Configure API Integration and select Enable API integration.
- In Base URL, paste the SCIM base URL.
- In API Token, enter
Bearerfollowed by the SCIM token, such asBearer your_scim_token. This application sends the field as the fullAuthorizationheader. - Click Test API Credentials, then Save.
- In Provisioning > To App, click Edit, turn on Create Users, Update User Attributes and Deactivate Users, and click Save.
- On the Assignments tab, assign people or groups. For people that you assigned before step 8, click Provision User.
If Deactivate Users is off, Okta does not tell SuperPlane when you deactivate a person, and the member keeps access.
- Open Enterprise applications and select the application that you registered.
- Open Provisioning and set Provisioning Mode to Automatic.
- In Admin Credentials, paste the SCIM base URL in Tenant URL and the SCIM token in Secret Token. Entra adds the
Bearerscheme. - Click Test Connection, then Save.
- In Settings, set Scope to Sync only assigned users and groups.
- Set Provisioning Status to On and click Save.
Entra runs a provisioning cycle about every 40 minutes. To test one person now, use Provision on demand. When you disable a person in Entra or remove the assignment, Entra deactivates the user in SuperPlane.
Configure a SCIM 2.0 client in the identity provider:
- Base URL: the SCIM base URL.
- Authentication:
Authorization: Bearer your_scim_token. SuperPlane also accepts the token without theBearerscheme. - Resources:
Users. SuperPlane supportsGET,POST,PUT,PATCHandDELETE, and the filtersuserName eqandexternalId eq.
When the identity provider sets active to false or deletes the user, SuperPlane removes the member from the organization and ends their sessions. The SuperPlane account stays, and other organizations are not affected. To stop SCIM, click Revoke next to the token.
7. Set the sign-in policy
Section titled “7. Set the sign-in policy”In Sign-in policy:
- Enforcement:
- Optional: members can sign in with Single Sign-On or another method.
- Required: members must sign in with Single Sign-On to open this organization. A member who signed in with another method goes to the identity provider.
- Owner bypass: owners can sign in with another method when Single Sign-On is required. Keep it on until you know that Single Sign-On works, so that an identity provider outage does not lock you out.
- Maximum session age: members sign in again after this time. Enter hours, such as
24or1.5, or minutes, such as15m. The range is 15 minutes to 7 days. - Sign out from the identity provider: when a member signs out of SuperPlane, the identity provider session also ends.
8. End sessions from the identity provider
Section titled “8. End sessions from the identity provider”Okta ends SuperPlane sessions with Universal Logout. Okta does not support OIDC Back-Channel Logout.
- In the OIDC application, open the General tab and click Edit in Logout.
- In Global token revocation, set App logs out when to Okta system or admin initiates logout.
- In API based logout setup, paste the Global token revocation URL from SuperPlane in Endpoint URL.
- Set Endpoint authentication type to Signed JWT and Subject format to Issuer and Subject Identifier. Click Save.
To test it, open Directory > People, select a person who is signed in to SuperPlane, and click More Actions > Clear User Sessions. The next request of that person in the organization goes to Okta.
Entra does not support OIDC Back-Channel Logout. To end access from Entra, disable the person or remove the assignment, and SCIM removes the member. Use Maximum session age to limit how long a session lasts without a new sign-in.
If the provider supports OIDC Back-Channel Logout 1.0, paste the Back-channel logout URI in the client and turn on the session ID (sid) in the logout token. In Keycloak, set Backchannel logout URL and turn on Backchannel logout session required.
When the provider ends a session, SuperPlane ends the matching SuperPlane session for this organization.
Sign in as a member
Section titled “Sign in as a member”- On the login page, click Continue with SSO, enter the Work email, and continue to the identity provider.
- When the email form of the login page receives an address on a verified domain, it offers Single Sign-On.
- Share
https://your_superplane_host/login/sso/your_organization_idfor a direct link to the identity provider. - Select the SuperPlane tile in the app portal of the identity provider.
Troubleshooting
Section titled “Troubleshooting”| Problem | Fix |
|---|---|
The identity provider reports that the redirect_uri is not valid. | Paste the Redirect URI from SuperPlane in the application. In Okta, remove the default /authorization-code/callback value. |
| The test fails before the identity provider opens. | Check the Issuer URL. It must be the issuer in the discovery document. In Okta, do not use the -admin URL. |
| ”This email belongs to an existing account. Ask an administrator to verify the email domain.” | Verify the email domain of that person. |
| ”Your identity provider did not confirm your email address. Ask your administrator to check the SSO setup.” | In Entra, add the optional claim xms_edov to the ID token. In Okta and other providers, confirm that the person has a verified email address and that the ID token or UserInfo contains email_verified. The connection test shows the same message. |
| ”This organization has no seat for a new member.” | Add seats or remove a member. |
| ”Single Sign-On is not licensed for a new member.” | Ask the installation admin to turn on Single Sign-On for the organization. |
| The identity provider reports “The SCIM token is not valid.” | Create a token again. In Okta, enter Bearer before the token in API Token. |
| A deactivated person keeps access. | In Okta, turn on Deactivate Users in Provisioning > To App. In Entra, wait for the next provisioning cycle or use Provision on demand. |
| An owner cannot open the organization after you require Single Sign-On. | Turn on Owner bypass, or sign in through the identity provider. |
Disable or delete the connection
Section titled “Disable or delete the connection”- Disable in Test and activate: members sign in with other methods again. The configuration stays.
- Delete connection in Danger zone: SuperPlane deletes the connection, its SCIM tokens and the links between members and the identity provider. Members stay in the organization.