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:'"