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.
Select a link for more information on each of these grant types:
Prerequisite: Organization-wide ca.crt, client.crt, and client.key (you can generate client.crt and client.key using openssl.)
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.