Oracle Rest Data Services (ORDS) (MOSC)

MOSC Banner

authenticate in ords under tomcat by using keycloak access token

ORDS version 24

ORACLE version 19c

Keycloak version 24

Got results sucessfully from ords resource using access token from ORDS client credencials.

Have created client in keycloak. Keycloak client credencials are inserted in ORDS Settings.xml

<entry key="security.oauth2.enabled">true</entry>
<entry key="security.authentication_mode">oauth2</entry>
<entry key="security.oauth2.keycloak.clientId">client_id</entry>
<entry key="security.oauth2.keycloak.clientSecret">client_secret</entry>
<entry key="security.oauth2.keycloak.tokenEndpoint">https://keycloak_realm_url/protocol/openid-connect/token</entry>
<entry key="security.oauth2.keycloak.authorizationEndpoint">https://keycloak_realm_url/protocol/openid-connect/auth</entry>
<entry key="security.oauth2.keycloak.userInfoEndpoint">https://keycloak_realm_url/protocol/openid-connect/userinfo</entry>

Tagged:

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