Skip to main content

Check out Interactive Visual Stories to gain hands-on experience with the SSE product features. Click here.

Skyhigh Security

Integrate ServiceNow SSO with Okta using SAML

This topic describes the steps to achieve the ServiceNow SSO Integration with Okta using SAML.

NOTE: To use the IdPs such as ADFS and Okta, you must configure IdP in Servicenow. For details, see Configure IdP in ServiceNow.


Before you begin, make sure you have met the following prerequisites:

  • Access to a Skyhigh CASB tenant with a ServiceNow instance configured.
  • For IdP integration with Okta, you'll require:

Step 1: Create a New SAML Integration Application

To create a new SAML Integration Application:

  1. Log in to Okta as Admin.
  2. Go to Applications and click Add Application.
  3. Click Create New App.
  4. In the Create a New Application Integration page, configure the following:
    • Select Platform as Web from the menu.
    • For Sign on method, click SAML 2.0
    • Click Create.
  5. You are redirected to the wizard Create SAML Integration. Under General Settings, configure these fields:
    • Enter App name as ServiceNow.
    • For App logo, browse and upload the following image and click Upload Logo.
    • Click Next.
  1. Under Configure SAML, configure the following SAML Settings

NOTE: If you are performing Managed Device Check then add ?shnsaml at the end of the URL. For example, 

  • Activate the checkbox Use this for Recipient URL and Destination URL.
  • For Audience URI (SP Entity ID), enter the host name of the ServiceNow instance. For example,
  • Select Name ID format as EmailAddress from the menu.
  • Select the Application username as Okta username from the menu.
  • Click Next.
  1. Under Feedback, configure the following:
    • Click I'm an Okta customer adding an internal app.
    • Activate This is an internal app that we have created.
    • Click Finish.
      You have received the Okta application metadata link. 
  2. Click the Okta Application metadata link and go to Sign On. 
  3. Click the Identity Provider metadata link. The Okta metadata link looks similar to Save the link. Later, you can use this link in Step 2

Step 2: Configure Okta as Identity Provider in ServiceNow

To configure Okta, import the metadata directly to ServiceNow. 

  1. Log in to ServiceNow as Admin.
  2. Go to Multi Provider SSO and click Identity Providers.
  3. To create SAML, click New.
  4. In the Import Identity Provider Metadata dialog, click the URL radio button and enter the Okta metadata URL. For example, You can get the Okta metadata URL in Step 1.
  5. Click Import.
  6. Once the import is completed, configure the following fields and click Update.
  • Name. Enter the name of the identity provider. For example, Skyhigh CASB Okta.
  • Default. If you have selected only one identity provider, then you can activate this checkbox. Since this is an optional field, you can leave blank.
  • ServiceNow Homepage: Use your ServiceNow instance URL as input here. For example:  
  • <ServiceNow Proxy URL>/

NOTE: If you are performing Managed Device Check, then append the parameter ?shnsaml at the end of the existing URL in the below format. For example, 

<ServiceNow Proxy URL>/<append parameter>
  • Under Encryption and Signing, configure these fields:
    • Sign LogoutRequest. Activate this checkbox.
    • Signing/Encryption Key Alias. Enter saml2sp.
    • Signing/Encryption Key Password. Enter saml2sp.

NOTE: If you prefer to create and upload your own signing certificate instead of the built-in SP certificate, see Generate a Server Certificate.

  1. Click Generate Metadata and copy the highlighted text <ds:X509Certificate> and </ds:X509Certificate></ds:X509Data>
  2. Open a new text file and paste the copied texts. You need to add the certificate header and footer markers in the below format and save the file with an extension of pem.
    Insert copied text
    ----END CERTIFICATE-----

For example, 


Your ServiceNow certificate is created and save the certificate to use in Step 3.

Step 3: Import the ServiceNow Certificate to Okta

To import the ServiceNow Certificate to Okta:

  1. Log in to Okta as Admin.
  2. Go to Applications and click ServiceNow application.
  3. Go to General wizard and under SAML Settings, click Edit.
  4. Under General Settings, click Next.
    You are redirected to the Configure SAML page.
  5. Click Show Advanced Settings.
  6. Under Signature Certificate, browse and upload the ServiceNow certificate created in Step 2 and click Next.
  7. Click Finish.

You have successfully configured Okta as Identity Provider in ServiceNow.

Optional: Configure SP Initiated SSO for Individual User

This configuration is mainly supported for individual users having the secondary IdP or for the user waiting to execute a controlled test.

  1. Go to Multi-Provider SSO > Identity Providers.
  2. Right-click the configured Identity Provider and click Copy sys_id. Save the sys_id value to use later.
  3. Go to User Administration > Users.
  4. To test the ADFS or Okta integration, create a ServiceNow user that matches your Active Directory account.


  • For ADFS, the ServiceNow user email address should match with AD user email or UPN.
  • For Okta, the ServiceNow user email address should match with Okta Username.
  1. Go to the collapsed menu, select Configure, and click Form Design.

    You are redirected to the Form Design page. 
  2. Under Fields, search for SSO Source in the left pane.
  3. Drag and drop the SSO Source in the User[sys_user] form irrespective of the order.
  4. Click Save.
  5. Refresh the User form of the test user or go to User Administration > Users and open the test user.
  6. For the SSO Source field, enter sso: and paste in the sys_id of the Identity Provider copied earlier. For example, sso: 7b8b1e944f131300d69400fe9310c.
  7. Click Update.
  • Was this article helpful?