Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Configuring authentication settings for ServiceNow services and components in AEM

Enable logging in to both the Adobe Experience Manager (AEM) instance of your website and the ServiceNow instance using a third-party OpenID Connect (OIDC) provider that supports both OIDC and single sign-on (SSO) protocols.

You can select Okta or Microsoft Azure as the third-party OIDC provider that supports both OIDC and single sign-on (SSO) protocols.

Note: Your AEM instance must use the selected third-party OIDC provider as the SSO provider.

Register ServiceNow with a third-party OIDC provider

Register ServiceNow as a web application with a third-party OIDC provider to validate the identity of a user using a JSON Web Token (JWT).

Before you begin

ServiceNow identifies an end user by sending the JWT token containing the end user information to the OIDC provider. The process to register ServiceNow with the OIDC provider varies depending on the provider.

Note:

This topic uses Okta as an example, but you can substitute the details of your own OIDC provider.

Role required: Okta account (Third-party OIDC provider account)

Procedure

  1. Log in to your Okta account.

  2. Select the Applications menu.

  3. On the Applications page, click Add Application.

  4. On the Create New Application page, select Web.

  5. Fill in the fields.

  1. Click Done.

What to do next

In the Client Credentials section, record the Client ID and Client secret values for when you set up Okta as an OAuth provider in your ServiceNow and AEM instances.

Add an OIDC provider to the ServiceNow instance

Add a third-party OIDC provider service to your ServiceNow instance to verify the identity of end users.

Before you begin

You must have configured the third-party OIDC provider service as an OAuth provider and recorded your Client ID and Client secret values. For more information, see Register ServiceNow with a third-party OIDC provider.

Role required: oauth_admin

Procedure

  1. Navigate to All > System OAuth > Application Registry.

  2. Set up OAuth for your ServiceNow instance.

    • Click New, select Configure an OIDC provider to verify ID tokens, and then fill in the Application Registries form.
    • Select an existing template for your OIDC provider (Okta or Microsoft Azure), and then either accept the default values in the Application Registries form or modify them.

      Note: OIDC provider templates are available after loading demo data with the OAuth 2.0 plugin. For more information, see Configure an OAuth OIDC provider.

FieldValue
Application labelUnique application name for your ServiceNow instance.
Authorization CodeSelected
Refresh TokenSelected
Login redirect URIsCallback URL of your AEM instance.The URL structure is: `https://:/bin/now/auth/callback`
Login initiatedApp Only
FieldDescription
NameUnique name for the OAuth provider.
Client IDClient ID you recorded earlier for your ServiceNow instance registered in the third-party OIDC server. The ServiceNow instance uses the client ID when requesting an access token.
Client SecretClient secret you recorded earlier for your ServiceNow instance registered in the third-party OIDC server.
OAuth OIDC Provider Configuration

OIDC provider with which you registered your ServiceNow instance.

Note: Select the record of your OIDC provider configuration or create another configuration, if not available, to ensure that the OIDC Metadata URL field value is correct and the User Claim and User Field fields are mapped correctly.

  1. Save your changes.

    • For an existing template, click Update.
    • For a new template, click Submit.

Configure OIDC provider details in Adobe Experience Manager

Configure the third-party OIDC provider details in your Adobe Experience Manager (AEM) instance to access the ServiceNow components as an authenticated user.

Before you begin

You must have configured the third-party OIDC provider service as an OAuth provider and recorded your Client ID and Client secret values (see Register ServiceNow with a third-party OIDC provider).

Role required: AEM administrator

About this task

Configure the OIDC provider details in AEM to enable the AEM users to access the ServiceNow instance as authenticated users. If you don't configure the OIDC provider details in AEM, an AEM user is considered as a public user when accessing the ServiceNow instance.

Procedure

  1. Access the web console in AEM with a URL in the following format: https://<AEM_hostname>:<AEM_port>/system/console/configMgr.

  2. Search for ServiceNow OAuth Configuration.

  3. In the Name column, click the ServiceNow OAuth Configuration link.

  4. Provide values for the configuration settings.

  1. Click Save.

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.

FieldDescription
ServiceNow Client IDClient ID you recorded when setting up the OAuth for your ServiceNow instance.
ServiceNow Client SecretClient secret you recorded when setting up the OAuth for your ServiceNow portal.
OAuth Provider Auth URLAuthorization server end point used for obtaining the authorization code. In the following URL structure, substitute the domain name of the authorization server of your third-party OIDC provider.Example: `https:///oauth2/authorize`
OAuth Provider Access Token URLAuthentication server endpoint used for exchanging the authorization code for an access token. In the following URL structure, substitute the domain name of the authorization server of your third-party OIDC provider.Example: `https:///oauth2/token`
Authorization request scopeList of scopes for limiting the authorization access. Note: The default value openid email profile offline_access works for most OIDC providers (for example, Okta).
User property to store refresh tokenName of the user property to store the authentication refresh token. Note: Once filled, this token is used to obtain access tokens for that user in all future requests.