ODBC Driver for ServiceNow

Build 24.0.9060

Creating a Custom OAuth Application

Creating a Custom OAuth Application

This procedure register a custom OAuth application that can be used from the Desktop, the Web, or a Headless machine. It also obtains the OAuth client credentials, the OAuthClientId and OAuthClientSecret.

  1. If the OAuth plugin for your instance is not active already, activate it.
  2. Log in to your ServiceNow instance.
  3. In the Navigator, click System OAuth > Application Registry.
  4. Click New.
  5. Click Create an OAuth API Endpoint for External Clients.
  6. Select the check box.
  7. Enter a name for the new application.
  8. Set a Client Secret. To have one generated automatically, leave this blank.
  9. Enter a value in the Redirect URL box:
    • If this is a desktop application, set the Redirect URL to http://localhost:33333 or a different port number of your choice.
    • If this is a web application, set the Redirect URL to a page on your Web app you want the user to be returned to after they have authorized your application.
  10. Click Submit.

After the application is complete, navigate back to the new application and take note of the OAuthClientId, OAuthClientSecret, and CallbackURL values.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060