Vendor configuration recipe; review against your vendor version. This page is not evidence of fresh external interoperability. Release verification scope.
Integrations · OIDC + SAML
ServiceNow SSO
Configure Single Sign-On for ServiceNow ITSM using Clavex as the Identity Provider. Supports OIDC (recommended for new deployments) and SAML 2.0. Includes role/group mapping from Clavex claims to ServiceNow roles.
Option A — OIDC (Recommended)
Step A1 — 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 A2 — Configure OIDC Provider in ServiceNow
- In ServiceNow, navigate to System OAuth → External OIDC Providers → New
- Fill in:
Field Value Name ClavexClient ID servicenowClient secret cs_xxxxxxxxxxxxxxxxWell-known config URL https://id.acme.eu/acme/.well-known/openid-configurationUser claim emailDefault auth. scope openid profile email groups - Click Populate OIDC metadata — ServiceNow fetches all endpoints from discovery
- Save
Step A3 — Create Multi-Provider SSO Profile
- Multi-Provider SSO → Identity Providers → New
- Set type to OpenID Connect
- Link the OIDC provider created above
- Set User field to
emailand Identity provider's user field toemail - Enable Auto-provision users if needed
Option B — SAML 2.0
Step B1 — Configure SAML in ServiceNow
- Navigate to Multi-Provider SSO → Identity Providers → New
- Select type SAML2 Update1
- Upload Clavex metadata XML or enter manually:
Field Value IdP's EntityID/Issuer https://id.acme.eu/acme/samlIdP's AuthnRequest binding HTTP-RedirectIdP's SSO URL https://id.acme.eu/acme/saml/ssoIdP's SLO URL https://id.acme.eu/acme/saml/sloIdP's certificate Paste Base64 from Clavex metadata - Note the EntityID and ACS URL shown by ServiceNow
Step B2 — Register ServiceNow 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.
Role Mapping
In ServiceNow, create a Claim Mapping to translate Clavex groups
claim values to ServiceNow roles:
- Multi-Provider SSO → Identity Providers → your provider → Claim Mappings
- Add a new mapping:
Claim attribute ServiceNow user field groupsroles(via script transform)emailemailnamename
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| User not found after SSO login | User not provisioned in ServiceNow | Enable Auto-provision users or create the user manually with matching email |
| OIDC discovery URL fails | ServiceNow can't reach Clavex | Check network/firewall rules; ServiceNow IP ranges must reach your Clavex instance |
| SAML assertion rejected | Audience restriction mismatch | Ensure SP entity_id in Clavex matches exactly the EntityID shown in ServiceNow SSO settings |
| Redirect after login goes to home, not original page | RelayState not preserved | Enable Use relay state in the ServiceNow Identity Provider settings |