Accessing WebGate Protected Resource Using OAMMS ACCESSTOKEN Fails With "Authorization Required"
Last updated on MARCH 08, 2017
Applies to:Oracle Mobile and Social - Version 220.127.116.11.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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms