Single sign-on (SSO) integration
Summarize
Summary of Single sign-on (SSO) integration
ServiceNow CPQ supports single sign-on (SSO) integration using identity providers (IdPs) that implement OAuth2 with OpenID Connect (OIDC). This enables seamless user authentication for headless use cases, such as embedding ServiceNow CPQ on websites or eCommerce platforms. Note that ServiceNow CPQ does not support SAML-based SSO. If using Salesforce, these SSO setup steps are not required.
Show less
SSO Integration Process
- Create an application in your chosen IdP with OAuth2/OIDC support.
- Share app parameters and user details with the ServiceNow CPQ team via an SSO Setup Request Form.
- Coordinate with the ServiceNow CPQ team to complete provisioning and obtain the client secret securely.
- Test the SSO redirect flow to confirm successful authentication.
- Ensure user email addresses used for authentication are accurate and case sensitive.
Configuring Common IdPs
Google SSO
Google IdP is supported for personal and business accounts. Provide user names and email addresses to the ServiceNow CPQ team for setup.
Okta SSO
- Follow Okta Developer instructions to set up an OAuth2 Authorization Code flow application.
- Specify a redirect URL in the format:
https://[tenantURL]/login/oauth2/code/[your-okta-subdomain]. - Provide your client ID, client secret, redirect URL, Okta domain, and user info to the CPQ team.
- Validate the Okta domain by confirming the availability of OpenID configuration metadata.
Entra ID (Microsoft) SSO
- Register an app in Microsoft Entra ID, selecting Web as the platform, and specify the redirect URI as:
https://[tenantURL]/login/oauth2/code/[your-subdomain]-entra. - Enable ID tokens in the app authentication settings.
- Note the client ID, client secret (save securely), and Authority URL including
/v2.0suffix. - Validate the Authority URL by accessing the OpenID configuration metadata.
- You can add users/groups or app roles in Entra ID to manage access.
- Submit the client ID, Authority URL, redirect URI, and user details in the SSO Setup Request Form.
Troubleshooting Highlights
- Issuer mismatch: Ensure your issuer URL ends with
/v2.0and updateaccessTokenAcceptedVersionto 2 in the application manifest. - Redirect issues: Set
acceptMappedClaimsto true in the manifest to avoid incorrect redirects.
Additional IdP Support
ServiceNow CPQ can integrate with any IdP supporting OAuth2 with OpenID Connect. Submit detailed IdP information via the SSO Setup Request Form to coordinate integration.
If you intend to use ServiceNow CPQ for a headless use case (such as exposing ServiceNow CPQ on a website or eCommerce platform), please fill out and submit an SSO Setup Request Form that details the identity provider (IdP) you are using for single sign-on (SSO).
This process involves:
- Creating an app for ServiceNow CPQ in your IdP tool of choice. See the steps and links below.
- Sharing parameters and users from the app with the ServiceNow CPQ team. The team will complete the provisioning process using the parameters that you send.
- Testing and confirming that the SSO redirect works as expected.
Note the following considerations:
- ServiceNow CPQ can now support SSO with any IdP that supports OAuth2 with OpenID Connect (OIDC).
- ServiceNow CPQ is not compatible with SAML.
- Your IdP client must be up to date.
- Users who have been added to ServiceNow CPQ before SSO was implemented may need to be added again.
- These steps are not required if you are using ServiceNow CPQ with Salesforce.
Configuring Google SSO
ServiceNow CPQ supports Google for both personal and business single sign-on. If you use Google IdP for identity verification, all we need are the names and email addresses of your users.
Configuring Okta SSO
To set up an application that supports the Authorization code flow for ServiceNow CPQ, start by following the Okta Developer instructions: Implement authorization by grant type: set up your app
For the redirect URL, specify your ServiceNow CPQ URL, append /login/oauth2/code/, and then append your -okta subdomain. So if your URL is example.test.cpq, your redirect URL would be
https://example.test.cpq/login/oauth2/code/example-okta.
https://{oktaDomain}/.well-known/openid-configuration. You should see a JSON file with information about the authorization server endpoints.When your ServiceNow CPQ point of contact has confirmed that setup is complete, try to visit your tenant-specific ServiceNow CPQ URL. You should see a redirect flow that brings you to an Okta consent screen to allow access to your ServiceNow CPQ app.
Configuring Entra ID SSO
Register an app by following the instructions on the following Microsoft Entra documentation website:
Register an application in Microsoft Entra ID
In the Redirect URI section of the Microsoft Entra registration page, in the Select a platform menu, select Web. For the redirect URI, enter your tenant-specific
URL, append /login/oauth2/code/, and then append <your subdomain>-entra. For example, if your URL is example.test.cpq, your redirect URI is
https://example.test.cpq/login/oauth2/code/example-entra.
Make sure to select ID tokens on the Authentication tab of your app. For more information about OIDC, see the following Microsoft Entra documentation website: OpenID Connect on the Microsoft identity platform.
/v2.0 at the end. You should be able to see the metadata and validate your
issuer URL by visiting it in a browser with /.well-known/openid-configuration appended to it. For example:
https://login.microsoftonline.com/c7dd9346-1cfc-4bd8-a34c-a066c8bc0477/v2.0/.well-known/openid-configuration.Optionally, add an app role for the users whom you wish to test with. For more information, see "Add a user account to your directory, and add that account to an appRole" on the following Microsoft Entra documentation website: Add sign-in with Microsoft Entra account to a Spring web app
On the SSO Setup Request Form, provide the client ID, Authority URL, and redirect URl together with user details (email, name) for the users you wish to test with. The ServiceNow CPQ team will schedule a brief call with you to obtain your client secret.
By default, each user’s emails will act as their identifiers, but it may be possible to use a different identifier in a user profile. The fields that can be used as identifiers are limited by what’s available at the
user_info endpoint defined in the well-known/openid-configuration URL described above. For more information about the user_info endpoint, see the following Microsoft Entra documentation website: Microsoft identity platform UserInfo endpoint.
Once your ServiceNow CPQ point of contact has confirmed that setup is complete, try to visit your tenant-specific ServiceNow CPQ URL. You should see a redirect flow that brings you to an Entra ID consent screen to allow access to your ServiceNow CPQ app.
| Issue | Resolution |
|---|---|
The issuer does not match the expected value. For example, the issue is sts.microsoft.net instead of login.microsoftonline.com. |
|
| Admin is redirected to http://cpq.ai, despite being set up correctly. | In your manifest, set the acceptMappedClaims parameter to true in your manifest. |
Configuring another IdP
ServiceNow CPQ can now support SSO with any IdP that supports OAuth2 with OpenID Connect (OIDC). In the SSO Setup Request Form, provide details about your preferred IdP tool and our team will connect with you to ensure it is properly integrated with ServiceNow CPQ.