Accessing WebGate Protected Resource Using OAMMS ACCESSTOKEN Fails With "Authorization Required"
(Doc ID 2031640.1)
Last updated on AUGUST 09, 2018
Applies to:Oracle Mobile and Social - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Access to a WebGate protected resource using an Oracle Access Manager Mobile and Social (OAMMS) ACCESSTOKEN is failing with error "Authorization Required".
The error in the WebGate oblog.log is:
The required parameters have been added in the User Defined Parameters field of WebGate agent:
The following curl command is used to access the WebGate protected resource with the ACCESSTOKEN:
curl -i -H "User-Agent:OIC-Agent" -H "Authorization: OAM-Auth $ACCESSTOKEN" http://app.oracle.com:7122/protected/test.html
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!