Create OAuth API endpoints for external clients

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 5분
  • 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.

    시작하기 전에

    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

    이 태스크 정보

    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.

    프로시저

    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.
      표 1. Application Registries form
      Field Action
      Name Enter Pipeline Controller Client.
      Redirect URLs
      1. 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://<production instance name>.service-now.com/oauth_redirect.do, https://<development instance name>.service-now.com/oauth_redirect.do, https://<test instance name>.service-now.com/oauth_redirect.do.

    5. Select Submit.
      중요사항:
      Complete the next steps on your development instance.
    6. On your development instance, navigate to All > System OAuth > Application Registry.
    7. Select New.
    8. Select Create an OAuth API endpoint for external clients.
    9. On the form, fill in the fields.
      표 2. Application Registries form
      Field Action
      Name Enter Pipeline Development Client.
      Redirect URLs
      1. 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://<production instance name>.service-now.com/oauth_redirect.do, https://<development instance name>.service-now.com/oauth_redirect.do.

    10. Select Submit.
      중요사항:
      Complete the next steps on your test instance.
    11. On your test instance, navigate to All > System OAuth > Application Registry.
    12. Select New.
    13. Select Create an OAuth API endpoint for external clients.
    14. On the form, fill in the fields.
      표 3. Application Registries form
      Field Action
      Name Enter Pipeline Test Client.
      Redirect URLs
      1. 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://<production instance name>.service-now.com/oauth_redirect.do, https://<test instance name>.service-now.com/oauth_redirect.do.

    15. Select Submit.
    16. 옵션: Repeat this process from steps 11–15 for any other non-production instances (staging, and the like) you have.

    다음에 수행할 작업

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