Oracle Rest Data Services (ORDS) (MOSC)

MOSC Banner

ORDS 25.1 ORDS_SECURITY vs OAUTH

PLSQL Package ORDS_SECURITY is replacing OAUTH. In OAUTH, you can easily replace or generate a client secret and the value is visible in view ORDS_METADATA.USER_ORDS_CLIENTS, for example:

BEGIN
OAUTH.UPDATE_CLIENT_SECRET(
p_client_name => 'MY_CLIENT',
p_editing_user => 'MY_USER',
p_client_secret => 'aMYG-Ejb_MtBuxrzwqwbuQ..');
END;
/

  1. What is the equivalent process to do this with ORDS_SECURITY?
  2. It looks like you can now set up two secrets?
  3. Will the client secret still be visible in ORDS_METADATA.USER_ORDS_CLIENTS once you use ORDS_SECURITY to generate a secret? When I tried it, a secret was returned but "*******" was in the ORDS_METADATA.USER_ORDS_CLIENTS view. The secret did work however when I tried to get a token.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center