Authorization code flow example: ServiceNow instance as authorization server
-
- UpdatedFeb 1, 2024
- 2 minutes to read
- Washington DC
- Platform Security
Authorization code flow example: ServiceNow instance as authorization server
You can use an instance as an authorization server to issue tokens to a client using authorization code flow.
Before you begin
Role required: none.
This example uses two instances: one as the authorization server and the other as the client. One instance uses a REST call to request tokens from another instance.
You must Activate OAuth on both instances.
Procedure