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!

OAuth token - 401 Unauthorized

partlycloudyFeb 12 2021 — edited Feb 14 2021

I followed the instructions here and here to secure the service here and used this Firefox add-on to send a request to the /oauth/token endpoint with Basic authentication provided the client_id and client_secret from the user_ords_clients view and POST body grant_type=client_credentials but I get a 401/Unauthorized
This support note talks about a WebLogic setting enforce-valid-basic-auth-credentials=false to disable Basic authentication but I am not sure whether apex.oracle.com uses WLS or Tomcat. Besides, on our own environment, we use Tomcat and we see the same error. Is there a equivalent setting for Tomcat? Or is there something else going on here?
Any ideas?
Thanks

Comments

Post Details

Added on Feb 12 2021
36 comments
6,222 views