jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Create an OAuth API script

On this page

Create an OAuth API script

Create and duplicate an OAuth API script for application registry.

Before you begin

Generate an SHA-1 thumbprint. For more information, see Generate a SHA-1 thumbprint.

Generate a sys_id when you configure a JWT provider. For more information, see Configure a JWT provider.

Role required: admin

Procedure

  1. Navigate to All > System Definition > Script Includes.

  2. Select and open EmailCertificateOAuthTemplate.

  3. Duplicate the script by changing the name in the Name field, select Insert and Stay from the record menu.

    Note: The name must begin with OAuth to create an OAuth script.

    The script is copied and created with a different name.

  4. In the copied script, enter the JWT provider sys_id and SHA-1 thumbprint.

  5. Select Update.

What to do next

Register an OAuth provider.

Parent Topic:Configure client credential flow for SMTP OAuth2 using certificate-based authentication

Keep exploring.

Find another answer, or bring this documentation into your own tools.