Oracle Rest Data Services (ORDS) (MOSC)

MOSC Banner

Has anyone successfully had an ORDS prehook trigger run on an ORDS OAUTH2 protected endpoint?

Using ORACLE ORDS 23.4 on an on-premise ORACLE 19 database.

Have tried this on both standalone and tomcat environments.

Endpoint protected by ORDS OAUTH privilege/role. Prehook unconditionally inserts into a log table. Get the expected 401 as user not yet authenticated, but nothing in log. If I unprotect the endpoint I get a log entry. Suggesting that the prehook doesn't fire if user not authenticated.

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