My Oracle Support Banner

OAuth Policy Does Not Work. (Doc ID 2507112.1)

Last updated on JANUARY 14, 2020

Applies to:

SOA Suite Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : NA version, Core SOA Product Issues

OAuth policy does not work.

ERROR
-----------------------
--- Error message:
 oracle.fabric.common.PolicyEnforcementException: WSM-00400 : OAuth2 server responded with status : "400 Bad Request", error : "invalid_scope". Please check OAuth2 server logs for more details.
at oracle.j2ee.ws.common.wsm.SecurityAgentTube.convertResultToExceptionIfFault(SecurityAgentTube.java:877)
at oracle.j2ee.ws.common.wsm.SecurityAgentTube.processRequest(SecurityAgentTube.java:220)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:1136)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:1050)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:1019)
at com.sun.xml.ws.api.pipe.Fiber.run(Fiber.java:813)
at com.sun.xml.ws.api.server.ThreadLocalContainerResolver$2$1.run(ThreadLocalContainerResolver.java:112)
at com.oracle.webservices.impl.disi.client.DISIServiceDelegate$1.execute(DISIServiceDelegate.java:47)
at com.sun.xml.ws.api.server.ThreadLocalContainerResolver$2.execute(ThreadLocalContainerResolver.java:107)
at com.sun.xml.ws.api.pipe.Engine.addRunnable(Engine.java:96)
at com.sun.xml.ws.api.pipe.Fiber.start(Fiber.java:424)
at com.sun.xml.ws.client.Stub.processAsync(Stub.java:573)
at com.sun.xml.ws.client.dispatch.DispatchImpl.access$1000(DispatchImpl.java:107)
.........................................................................
Caused by: oracle.wsm.common.sdk.WSMException: WSM-00400 : OAuth2 server responded with status : "400 Bad Request", error : "invalid_scope". Please check OAuth2 server logs for more details.
at oracle.wsm.security.policy.scenario.executor.HttpOAuth2SecurityScenarioExecutor.sendRequest(HttpOAuth2SecurityScenarioExecutor.java:187)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:807)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:44)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:526)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:438)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:385)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:175)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:1335)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:584)
at oracle.j2ee.ws.common.wsm.SecurityAgentTube.processRequest(SecurityAgentTube.java:215)
... 72 more
Caused by: oracle.wsm.security.SecurityException: WSM-00400 : OAuth2 server responded with status : "400 Bad Request", error : "invalid_scope". Please check OAuth2 server logs for more details.
at oracle.wsm.security.policy.scenario.processor.HttpOAuth2Processor.build(HttpOAuth2Processor.java:252)
at oracle.wsm.security.policy.scenario.executor.HttpOAuth2SecurityScenarioExecutor.sendRequest(HttpOAuth2SecurityScenarioExecutor.java:148)
... 81 more





Changes

 

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
Changes
Cause
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.