Generating an Access Token

You will need an IDCS Authorization Server endpoint URL and an OAuth 2.0 client ID and client secret to perform the steps described below. There are multiple techniques for generating an access token. The example below employs cURL and assumes Oracle Linux 8.

The cURL command for generating an access token has five components:

  1. The IDCS Authorization Server endpoint URL
  2. A content type
  3. A client ID and client secret
  4. A grant type
  5. A scope

Only the IDCS Authorization Server endpoint URL, client ID, and client secret are customer-specific. Content type, grant type, and scope are the same for all customers.