Single sign-on (SAML and OIDC)
Single sign-on lets your team sign in to Gradient with the account they already have at work. Your identity provider decides who has access, and it can also decide what role each person holds. Gradient supports SAML 2.0 and OIDC, with ready-made options for Okta, Microsoft Entra ID, and Google Workspace, plus a custom option for any other provider.What you need
- A Gradient owner account. Identity settings are owner-only.
- An administrator account at your identity provider, with permission to create applications.
- About 20 minutes, plus the time your identity team needs to send you their metadata.
Choosing between SAML and OIDC
Both protocols sign people in equally well. They differ in where Gradient roles can come from, and that is the whole decision.Part 1: Create the connection in Gradient
-
In Gradient, go to Settings, Identity and SSO.

Settings, Identity and SSO
-
On the Single sign-on card, click New connection. Choose your identity provider and
protocol, then give the connection a display name your team will recognize, for example
“Acme (Okta)”.
The list offers Okta and Microsoft Entra ID in both protocols, Google Workspace in SAML, and a custom option for each protocol.

The Single sign-on card, before any connection exists
-
Copy the values Gradient shows. They differ by protocol:
Part 2: Set up the application in your identity provider
Do this in your identity provider, or send the values to the team that administers it.If you chose SAML
- Create a new SAML application for Gradient.
- Paste the ACS URL and the SP Entity ID from Part 1 into the application.
- Set the name ID to the user’s email address. Gradient identifies people by email.
- Save the application, then collect three values from it: the IdP Entity ID, the IdP SSO URL, and the X.509 signing certificate.
- Back in Gradient, paste those values into the connection and save.
If you chose OIDC
- Create a new OIDC web application for Gradient, with the authorization code grant type.
- Set its sign-in redirect URI to the Redirect URI from Part 1.
- Save the application, then collect three values: the Client ID, the Client Secret, and the Issuer.
- Back in Gradient, paste those three values into the connection and save. Gradient reads the rest of the endpoints from your issuer automatically, so there is nothing else to copy.
Part 3: Map your groups to Gradient roles
Your identity provider can set each person’s Gradient role from their directory group. This keeps permissions in one place: you change someone’s group, and their Gradient access follows. How you do it depends on the protocol you chose.With SAML
- Configure your identity provider to send a groups claim on the assertion.
-
In Gradient, go to Settings, Identity and SSO and scroll to Automatic Role assignments.
Click Edit, and map each group to one Gradient role. The same card also grants roles by
email domain or by SSO connection, if you would rather not use groups.

Automatic Role assignments, at the bottom of the page
With OIDC
Set up directory sync (SCIM) and map your groups there. SCIM group mapping works whichever protocol people sign in with, so an OIDC organization gets the same directory-driven roles a SAML one does. Without SCIM, an OIDC connection cannot take roles from your directory. Grant them by email domain on the same Automatic Role assignments card, or set each person’s role at Settings, Team. Use the role names exactly as written, in lower case:Part 4: Test one sign-in before you enforce
Do not turn on enforcement until one real person has signed in through the connection.Pick one pilot user
Have them sign in
Check the result
Part 5: Require SSO for everyone
Once a real sign-in works, you can turn off the other ways in. All of these live on Settings, Identity and SSO, in the Authentication policy card. Each block has its own Edit button. Enforcement is only complete when all three agree. Your security team will ask about each one.
Authentication settings: 1 opens the block for editing, 2 is the switch that allows every sign-in method

User onboarding: 1 and 2 control who may join without an invitation, 3 limits joining to your own connection
Sign-in links for your team
There are two ways to reach the sign-in page, and for an enforced organization only one of them works for everybody.
Your sign-in link: 1 is the link to share, 2 copies it
Plan for lockout before you enforce
An enforced organization depends on your identity provider. If that provider has an outage, or a SAML certificate expires, or an OIDC client secret is rotated without telling us, nobody in your organization can sign in. Prepare for it now.Keep one break-glass owner
Store its recovery codes safely
Know how to undo enforcement
Re-enforce after the fix
Troubleshooting
A new hire sees 'no connections found'
A new hire sees 'no connections found'
app.trygradient.ai/login/your-org.Someone signs in but lands with the wrong role
Someone signs in but lands with the wrong role
owner, admin, member, or
reviewer.
After a fix, have them sign out and in again rather than waiting.A group change has not reached Gradient
A group change has not reached Gradient
Sign-in fails after working for months
Sign-in fails after working for months
Everyone is locked out
Everyone is locked out
What single sign-on does not do
- It does not create or remove accounts. SSO authorizes people who reach the sign-in page. To have your directory create, update, and deactivate Gradient members automatically, add directory sync (SCIM) as well.
- It does not manage members inside Gradient. You still see and manage people at Settings, Team, unless SCIM is turned on, which makes your directory the source of truth.
- It does not apply to candidates. Candidates never sign in. Their assessment link is their credential, and it is unaffected by your sign-in policy. See Authentication.