Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

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

Summary:

Hello,
I'm using Oracle cloud eddition Version 24. My final goal is to run the 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 then generate an OAuth Access Token to communicate with 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:'"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!