Add the OAuth Application User

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • Add the OAuth Application User field on the OAuth Entity form to use the Client Credentials grant type for OAuth inbound integrations.

    Before you begin

    Role required: admin, oauth_admin

    Plugin required: OAuth 2.0.

    You must create an OAuth client. For more information, see Create an endpoint for clients to access the instance.

    Procedure

    1. Open the OAuth client record that was created.
    2. Select more options icon on the page header.
    3. Select Configure > Form Design.
    4. On the Form Design page, add OAuth Application User from the list of fields.
    5. Save or Update the form.
    6. Select the user for the OAuth Application User.
      For example, System Administrator.OAuth Application User
      Note:

      Use the REST API Auth Scope to define the permissions of the client application, and control its access to the APIs.

    7. Save or Update the form.

      Any token request with the Grant Type as Client Credentials, Client ID, and Secret is passed for the associated OAuth Application User in ServiceNow®.

      Note:
      If the OAuth Application User isn’t selected on the OAuth client record or the Client Credentials property is set to false, then the token request will fail.