My Oracle Support Banner

Error In REST Adapter Configuration "CASDK-0004: Failed To Authenticate" (Doc ID 2756224.1)

Last updated on FEBRUARY 26, 2021

Applies to:

Oracle Integration-OIC - Version 18.2.5 and later
Information in this document applies to any platform.

Goal

The REST adapter connection with OAuth Custom Two Legged Flow Security Policy fails after modifying the Access Token Request string with a new client id and a new client secret. This however works from POSTMAN Rest Client.

Error: "CASDK-0004: Failed to authenticate against the application with the credentials provided; Cannot request OAuth access token. POST https://xxxxxxxxxxxxxxx/tokens/OAuth/2 returned a response status of 401 Unauthorized".

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.