Oracle Rest Data Services (ORDS) (MOSC)
MOSC Banner

How to Generate OAuth Access Token for Datastudio Notebook REST API?

Hello,
I’m trying to generate an OAuth Access Token to communicate with my confidential application. My goal is to run a Python notebook I created in Innovation Workbench Datastudio, using the REST API.

According to the documentation, I need to use Oracle Identity Cloud Service (IDCS) to configure the application. I created a confidential application with grant_type set to client_credentials. The documentation specifies that I should create a scope like this:
scope=urn:opc:idm:__myscopes__.

However, when I attempt to create such a scope, I encounter this error:

"Only an App that represents an OPC Service-instance can have an audience or a secondary audience that begins with 'urn:opc:'"

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center