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!

Getting the oauth2 new token asks for user and password ... which ones?

juliojgsMay 23 2022 — edited May 24 2022

Hi!
After building my first service, I want to secure it.
Created the role, the privilege, and the oauth2 client.
Now I hit the get token button, but a popup asks for user and password.
Which user / pass is this?
I tried with the user and pass of the ords enabled schema, with the weblogic user and pass, even entered the client id / secret ... but no luck.
I haven't seen this user pass popup in the tutorial I was following:
SQLDev Web: Securing RESTful Services in Oracle Autonomous Database with OAuth2 (0 Bytes)I also tried the curl command line, with --insecure, but got a nice Error 401--Unauthorized
The problem may be this: I'm using a weblogic development server with no proper certificate. The ~https~ in the browser is shown striked through
I tried to fix this configuring the self signed cert in the weblogic Adminserver SSL and loading the root.cer in my windows keystore as trusted.
Anyway, the browser still shows the server as insecure.

This post has been answered by Parlament Catalunya on Jun 16 2025
Jump to Answer
Comments
Post Details
Added on May 23 2022
6 comments
249 views