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

Create OAuth API endpoints for external clients

Create OAuth API endpoints to enable your controller instance to have two-way communication with your non-production instances. Follow and complete each step carefully on the specified instances before moving on to create your third-party OAuth provider records.

Before you begin

In the top right corner of your instance, make sure you set the application scope to Global.

Open all of your instances (development, test, production, and the like) in separate browser tabs.

Role required: admin

About this task

To create OAuth API endpoints for external clients and use OAuth in your pipelines, you must create several records, each on different instances in your pipeline. Begin on your production instance, which should be your controller instance.

Procedure

  1. On your production instance, navigate to All > System OAuth > Application Registry.

  2. Select New.

  3. Select Create an OAuth API endpoint for external clients.

  4. On the form, fill in the fields.

FieldAction
NameEnter `Pipeline Controller Client`.
Redirect URLs1. Unlock the field. 2. Enter the URL for your production, development, and test instances, each with `oauth_redirect.do` after the backslash. 3. Lock the field. Separate each of the three URLs with a comma and a space. For example: `https://.service-now.com/oauth_redirect.do, https://.service-now.com/oauth_redirect.do, https://.service-now.com/oauth_redirect.do`.
  1. Select Submit.

    Important: Complete the next steps on your development instance.

  2. On your development instance, navigate to All > System OAuth > Application Registry.

  3. Select New.

  4. Select Create an OAuth API endpoint for external clients.

  5. On the form, fill in the fields.

FieldAction
NameEnter `Pipeline Development Client`.
Redirect URLs1. Unlock the field. 2. Enter the URL for your production and development instances, each with `oauth_redirect.do` after the backslash. 3. Lock the field. Separate the two URLs with a comma and a space. For example: `https://.service-now.com/oauth_redirect.do, https://.service-now.com/oauth_redirect.do`.
  1. Select Submit.

    Important: Complete the next steps on your test instance.

  2. On your test instance, navigate to All > System OAuth > Application Registry.

  3. Select New.

  4. Select Create an OAuth API endpoint for external clients.

  5. On the form, fill in the fields.

FieldAction
NameEnter `Pipeline Test Client`.
Redirect URLs1. Unlock the field. 2. Enter the URL for your production and test instances, each with `oauth_redirect.do` after the backslash. 3. Lock the field. Separate the two URLs with a comma and a space. For example: `https://.service-now.com/oauth_redirect.do, https://.service-now.com/oauth_redirect.do`.
  1. Select Submit.

  2. Repeat this process from steps 11–15 for any other non-production instances (staging, and the like) you have.

What to do next

Follow the steps in Create third-party OAuth provider records on the specified instances.

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.