I need to retrieve an access token using the Client Credentials flow in Oracle IDCS. When I call the /token endpoint I'm getting an unauthorized error.
<H1>Unauthorized</H1>
Proper authorization is required for this area. Either your browser does not perform authorization, or your
authorization has failed.
How do I authenticate the /token API correctly?
What I've tried so far using Postman:
POST ``https://idcs-*.identity.oraclecloud.com/oauth2/v2/token``
Body -
grant_type = client_credentials
client_id = *
client_secret = *
Header - Authorization: Basic <base64encoded client_Id:client_secret>