SourCherry Help Centre
HomeSettingsUser Settings

Setting Up Single Sign-On (SSO) on SourCherry

SourCherry supports Single Sign-On (SSO) using the OpenID Connect (OIDC) protocol. With SSO, agencies can allow users to log in to SourCherry with their organizational credentials, improving security and simplifying access.

Currently, SourCherry supports OIDC onlySAML is not yet supported, but it is part of the future roadmap.

Table of Contents

Prerequisites


Before enabling SSO, two conditions must be met:

  1. Your agency must be on the $497 plan.

  2. Whitelabel domain must already be configured.

Setup Flow


Step 1: Client ID & Secret


Step 2: OIDC Configuration


You can configure this automatically or manually:

  1. Automatic Discovery (recommended)

    • Select Yes for “Use OIDC Config URL.”

    • Enter the OIDC Config URL from your IdP (usually: https://<idp>/.well-known/openid-configuration).

  2. Manual Configuration

    • Enter the following endpoints from your IdP:

      • Authorization URL

      • Token Endpoint

      • User Info Endpoint


Additional notes:


Step 3: User Details Mapping


We need to link the user information from your IdP to SourCherry so the same user is correctly recognized across both systems.

Fields to complete:


Step 4: Review & Finish

  1. SSO Configuration – Displays the configuration you entered.

  2. Test Status – Allows you to run an automated test to validate the setup. Until a test passes successfully, you cannot enable SSO.

  3. Additional Settings – Includes toggles to enable SSO for the agency and optionally hide other login methods (Email and Google).

Testing and Enabling SSO

ℹ️ Troubleshooting Common Errors

Editing or Deleting an Existing Configuration

Provider-Specific Guides


Auth0

Azure Active Directory (Entra ID)

Okta


Current Limitations


Troubleshooting Common Errors


Error Message

Cause

How to Fix

“Something went wrong, please try again.”

SourCherry couldn’t fetch user details from your IdP. May be incorrect endpoints or temporary IdP downtime.

Verify OIDC Config URL/endpoints, confirm IdP app is active, retry later.

“Email is not verified, please contact your admin.”

The email_verified attribute is missing or false.

Ensure your IdP includes email_verified = true in the ID token.

“remoteIdField is not configured properly, please contact your admin.”

The Remote ID (e.g. suboid) is missing or unmapped.

Update your config with a valid unique identifier field.

“emailField or idField is not configured properly, please contact your admin.”

Either Email or ID Field mapping is invalid.

Provide a valid Email Field (e.g. emailuserPrincipalName) or ID Field.

“No user found with this email.”

The IdP user does not exist in SourCherry.

Make sure the user exists within SourCherry and that you have added externalUserId for the existing users.

“You are not authorized to access this account. Please contact your admin.”

The user is missing a valid sub-account association.

Ensure the user is linked to a subaccount in SourCherry.

“Failed to initiate SSO test.”

The backend could not start the test flow.

Retry. If it persists, email support with your relationship number.



FAQs

How do I add users from my SSO identity provider's (IDP) user database to SourCherry?


SSO in SourCherry currently supports login only — it does not automatically create new users. To ensure your users can log in via SSO, you’ll need to add them to SourCherry before they attempt to sign in.

Steps to add users

  1. Create a Private Integration Token with the Create or Edit Users scope enabled.

  2. Use the Create Users API or Update Users API for SSO to add or update users in SourCherry.

  3. When creating users, set the parameter externalUserId to match the user’s unique ID from your IdP.

Why this matters

Behind the scenes (for context)


When a user logs in via SSO:

When creating or updating users with the Create Users API / Update Users API, you can also pass platformLanguage to persist the user’s UI language at provisioning time. This reduces manual per-user setup.


ℹ️ To avoid this, always include the SSO Remote ID when creating or updating users via API — especially if your users’ emails are likely to change in your IdP.

Mandatory Fields


OIDC Configuration


User Details Mapping


Updating User Email in the IdP


I Got Redirected to Login Screen After Starting SSO Test


Controlling Who Can Configure or Enable SSO


Scopes Explained


Scopes determine what information SourCherry can request from your IdP. They are critical for proper user mapping and authentication.

Scope

What it does

How SourCherry uses it

Example

openid (mandatory)

Returns the user’s unique identifier (sub).

Links the user to their Remote ID.

Required for all OIDC logins.

profile

Returns basic profile info such as namegiven_namefamily_name.

Can enrich user data in SourCherry (e.g. display name).

Helpful if you want names auto-synced, not just email.

email

Returns the user’s email and email_verified flag.

Maps to SourCherry’s Email Field and ensures trusted login.

Allows SourCherry to automatically update a user’s email if changed in IdP.

groups / roles (provider-dependent)

Returns group/role membership.

Could be used for role-based access or subaccount mapping (future).

If configured in Okta/Azure, lets you enforce “only members of group X can access SourCherry.”

offline_access (optional)

Returns a refresh token for long-lived sessions.

Not supported in SourCherry

Not supported in SourCherry