My Oracle Support Banner

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 11.1.2.2.0 and later
Information in this document applies to any platform.

Symptoms

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:

 OAMAuthAuthenticationServiceLocation=https://oam.oracle.com/oic_rest/rest/mobileoamauthentication
 OAMAuthUserAgentPrefix=OIC-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



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
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.