Skip to Main Content

APEX

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to configure Custom Authentication

Jones WillNov 6 2023

Hello,

I have an older APEX app that I was able to import into ORDS. My task is to integrate Key cloak. I was able to get the key cloak login to work but after the key cloak login I'm still being forwarded to the APEX app login. I have two authentications schemes, one for Key cloak and one for No Authentication. When I use No Authentication it bypasses login. Do I try
to remove login from Apex app .sql file or is there a way to modify the key cloak scheme to bypass apex login and only use key cloak login. If I'm only using key cloak to login don't I have to add code to the authentication scheme source pl/sql in APEX. I came across this article https://chrisonoracle.wordpress.com/2019/07/08/apex-and-forms-automatic-login/.

Is this the way to go? Could I also create a Java rest service for Key cloak token evaluation then plug that java endpoint into APEX to authenticate user?

Any help you can provide would be great.

Comments
Post Details
Added on Nov 6 2023
3 comments
447 views