Passing Authorization Bearer Token In HTTP Header For GET Operation Fails With "401 UnAuthorized" Error
(Doc ID 2812101.1)
Last updated on OCTOBER 05, 2021
Applies to:
Oracle Integration-OIC - Version 21.2.2.0.0 and laterInformation in this document applies to any platform.
Symptoms
On : N/A version, Rest Adapter
To Invoke External service protected with 2-Legged OAuth Authentication, external service sending the OAuth token in HTML format instead of JSON. Used custom code to retrieve the Auth Bearer token and pass manually for 2nd call to invoke the end service (through Authorization Header)
It works fine for POST operation, but GET and DELETE operation fails.
ERROR
-----------------------
401 UnAuthorized
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Call REST endpoint with GET / DELETE operation by manually passing auth token in headers.
Cause
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
Symptoms |
Cause |
Solution |