1.5.3 Generate Access Token Using Different Grant Types
An access token is required to invoke APIs and you can generate the access token using different grant types.
Click a link for more information on each of these grant types:
Note:
Token requests using TLS Client Authentication (Mutual TLS) must be made over HTTPS. The client is required to present a valid client certificate and the corresponding private key during the TLS handshake. The client certificate must be registered with Oracle IAM (Identity Domain), and the server certificate must be trusted by the client. Token issuance occurs only after successful TLS authentication and certificate validation.For more information, see TLS Client Authentication Grant Type.
Obtaining the IDCS Secure Domain URL
An IDCS secure domain URL is the web address used to access Oracle Identity Cloud Service (IDCS) over a secure HTTPS connection.
To obtain the IDCS secure domain URL:
- Sign in to the Oracle Cloud Console and go to Identity -> Identity Domains.
- From the Details tab, copy the Domain URL.
- Append
/.well-known/idcs-configurationafter the URL.Example:
<idcs_domain_URL>/.well-known/idcs-configuration - Search for
secure_token_endpointto get the IDCS secure domain URL.
Procedure to obtain a ca.crt file
The following procedure uses FireFox as the web browser.
- Obtain your secure IDCS URL.
- Open Firefox and enter the URL in the address bar, then press Enter.
- Click the padlock icon to the left of the URL in the address bar.
- Select Connection secure (or similar option) and then click More Information.
- In the window that opens, select the Security tab and click View Certificate.
- Under the Miscellaneous section, download either the PEM (cert) or PEM (chain) file as needed.