My Oracle Support Banner

Failed In Authorization On Configure Profile Service For 2-leg OAuth (Doc ID 2367251.1)

Last updated on AUGUST 29, 2019

Applies to:

Oracle Mobile and Social - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

Configuring 2-leg OAuth with steps from http://www.ateam-oracle.com/implementing-oauth-2-with-oracle-access-manager-oauth-services-part-ii/

we must configure profile service, but we are getting the below the error.

[root@lx626: ~ -> curl -i -H "Authorization: Basic <STRING>" -H "Content-Type: application/x-www-form-urlencoded;charset=UTF-8" -d 'grant_type=password&username=XXXX&password=XXXX&scope=UserProfile.me' http://<host_name>:14100/ms_oauth/oauth2/endpoints/oauthservice/tokens HTTP/1.1 200 OK
Cache-Control: no-cache, no-store, must-revalidate
Date: Fri, 02 Feb 2018 14:41:41 GMT
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/json
X-ORACLE-DMS-ECID: <ECID>
X-Powered-By: Servlet/2.5 JSP/2.1

{"expires_in":3600,"token_type":"Bearer","access_token":"TOKEN_STRING>"}[root@lx626: ~ -> cume" -H '<TOKEN_STRING>' -d '{"description": "<USER>description"}'



{"message":"Failed in authorization","oicErrorCode":"IDAAS-67011"}
 

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.