Skip to Main Content

ORDS, SODA & JSON in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORDS - invalid_scope error when requesting OAUTH token.

Vinicius DamarquesJun 29 2018 — edited Jun 29 2018

Hi,

When I'm making a request to ORDS in order to get an access token, I'm getting the error: {"error":"invalid_scope","error_description":"Not authorized to access the requested scope or scopes"}

The client ID and client secret are correct. I'm using this patter to make the request:

curl -i -k --user client_id:client_secret --data "grant_type=client_credentials" https://host:port/ords/schema/oauth/token

It was working perfectly, and stopped working after we dropped the schema and recreated the modules.

The scripts used to recreate were the same used to create it the first time.

We're using WebLogic as the application server.

Any hints so that I can figure this out ?

Thank you!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 27 2018
Added on Jun 29 2018
1 comment
1,835 views