How to register an OAuth app for ServiceNow
- Log in to the ServiceNow instance.
- Activate the OAuth 2.0 plugin.
- In the sys_properties table, set the system property com.snc.platform.security.oauth.is.active to true.
- Click system OAuth > Application Registry.
- Click NEW and then click an OAuth API endpoint for external clients.
- Specify the following parameters:
- Name: Enter a unique name.
- Client ID: Client ID automatically generated by ServiceNow OAuth server.
- Client secret Key: Client secret for the OAuth application.
- Redirect URI: Use
https://unify.apideck.com/vault/callback
- Refresh Token Lifespan: Time in seconds the refresh token is valid.
- Access Token Lifespan: Time in seconds the access token is valid. Update to 3600.
- Record the value of client ID and client Secret from the previous step and configure these via Vault.
- Click Submit.