Skip to Main Content

Oracle IDCS - How to authenticate a REST API call to /token endpoint

User_Y59QJJan 24 2022 — edited Jan 24 2022

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.
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-*``

Body -
grant_type = client_credentials
client_id = *
client_secret = *

Header - Authorization: Basic <base64encoded client_Id:client_secret>

Post Details
Added on Jan 24 2022