Vendor configuration recipe; review against your vendor version. This page is not evidence of fresh external interoperability. Release verification scope.

Integrations · OIDC + SAML

Salesforce SSO

Enable Single Sign-On for Salesforce CRM and Experience Cloud using Clavex as the IdP. Salesforce supports both SAML 2.0 (classic) and OIDC (Connected Apps). This guide covers both approaches — use SAML for standard Salesforce SSO and OIDC for connected apps or API access.


Option A — SAML 2.0 SSO (Recommended for Salesforce Orgs)

Step A1 — Clavex IdP Parameters

ParameterValue
Entity ID (Issuer)https://id.acme.eu/acme/saml
SSO URLhttps://id.acme.eu/acme/saml/sso
SLO URLhttps://id.acme.eu/acme/saml/slo
CertificateDownload from /acme/saml/idp/metadata

Step A2 — Configure SAML SSO in Salesforce

  1. Setup → Identity → Single Sign-On Settings
  2. Click New (SAML 2.0)
  3. Fill in:
    FieldValue
    NameClavex
    API nameclavex
    Issuerhttps://id.acme.eu/acme/saml
    Identity provider's certificateUpload Clavex signing cert (PEM)
    Request signing certificateLeave default or upload SP cert
    Identity provider login URLhttps://id.acme.eu/acme/saml/sso
    SAML Identity typeAssertion contains User's Salesforce username
    SAML Identity locationIdentity is in the NameIdentifier element
    Service provider initiated request bindingHTTP Redirect
  4. Save and note the Salesforce Login URL and Audience displayed on the detail page

Step A3 — Register Salesforce SP in Clavex

Register in the organization console. Create the matching OIDC application or downstream SAML application using its actual supported configuration. Copy the exact callback and required client credentials into the vendor configuration below. The management API uses an organization ID and typed request fields; follow the current OIDC guide and release API schema, rather than the obsolete client_name/scopes recipe. Keep credentials server-side.
Find your ACS URL: In Salesforce Setup → Single Sign-On Settings → click your SSO config → the Salesforce Login URL field is the ACS URL. It looks like https://acme.my.salesforce.com?so=00D…

Option B — OIDC Connected App

Step B1 — Register OIDC Client in Clavex

Register in the organization console. Create the matching OIDC application or downstream SAML application using its actual supported configuration. Copy the exact callback and required client credentials into the vendor configuration below. The management API uses an organization ID and typed request fields; follow the current OIDC guide and release API schema, rather than the obsolete client_name/scopes recipe. Keep credentials server-side.

Step B2 — Create Auth Provider in Salesforce

  1. Setup → Auth. Providers → New → type OpenID Connect
  2. Fill in:
    FieldValue
    NameClavex
    URL suffixclavex
    Consumer keysalesforce
    Consumer secretcs_xxxxxxxxxxxxxxxx
    Authorize endpoint URLhttps://id.acme.eu/acme/authorize
    Token endpoint URLhttps://id.acme.eu/acme/token
    User info endpoint URLhttps://id.acme.eu/acme/userinfo
    Default scopesopenid profile email

Troubleshooting

SymptomCauseFix
We can't log you in because of an issue with single sign-on NameID value doesn't match Salesforce username Ensure the SAML NameID value is the exact Salesforce username (email format)
Certificate error Expired or wrong certificate uploaded to Salesforce Re-download from /acme/saml/idp/metadata and re-upload
OIDC: invalid_client_credentials Wrong consumer key/secret Verify Auth Provider settings match Clavex client registration