Skip to content

Configure OAuth

A ServiceNow admin can configure OAuth by following the steps below. If any of these steps are already completed, you can skip them as needed. Refer to the ServiceNow OAuth Setup guide for more details.

  1. Activate OAuth
  2. Set OAuth Activation Property as true
  3. Create an OAuth application registry

How to Activate OAuth

  1. Navigate to System Definition > Plugins.
  2. Search for OAuth 2.0 Plugin
  3. Click Activate/Upgrade under Related Links

Activate Auth

Figure 1. Setting up OAuth on ServiceNow App Application

Activate Auth Success

Figure 2. Setting up OAuth on ServiceNow App Application

Set OAuth Activation Property

  1. Type sys_properties.list in the Filter Navigator and then click New
  2. Fill the form
    • Name: com.snc.platform.security.oauth.is.active
    • Type: true | false
    • Value: true

OAuth Activation

Figure 3. Setting up OAuth Activation Property on ServiceNow App Application

Create an OAuth Application Registry

  1. Navigate to System OAuth > Application Registry and then click New.
  2. Select 'Create an OAuth API' endpoint for external clients and then fill in the form.
  3. Click submit.

OAuth Application

Figure 4. Creating OAuth on ServiceNow App Application

Next, create an endpoint for a client application to gain access to your ServiceNow App instance. Use the following details to create the client application.

Fields Description
Name ServiceNow App
Redirect URL https://pod3.robomq.io/hire2retire/api/auth/callback/Hire2RetireIGA
Logo URL https://www.robomq.io/wp-content/uploads/2018/11/mainlogo.webp

You can keep the default values for all other fields.

ServiceNow App Application

Figure 5. Setting up OAuth on ServiceNow App Application

Once the client application is successfully set up, use the Client ID and Client Secret for creating a ServiceNow App connection in Hire2Retire.

When you click on the Link Account button, you will be redirected to the ServiceNow App Authentication screen and then to the application page where you can check permissions and allow RoboMQ to access your account.

Final

Figure 6. Setting OAuth on Hire2Retire Application