Oracle APEX Builder Social Sign-on

Search for a command to run...

Hi Jon, Thank you for this article. I followed all the steps and got ERR_TOO_MANY_REDIRECTS error.
Oracle APEX ideas and insights that you can read in four minutes or less.
Take a load off your ORDS server and utilize Oracle's high-speed CDN to serve the APEX product static files for your instance. This has the dual effect of improving page load times and reducing the load on your ORDS server. Using the Oracle CDN mean...
Introduction One of the marquee features of APEX 26.1 was AI Interactive Reports. When I started testing this new feature, I was interested to see what was going on behind the scenes. In this post, I

Introduction One of the marquee features of APEX 26.1 is APEX AI Agents. APEX AI Agents allow you to use an LLM and your own PL/SQL and JS tools to perform actions on your data instead of just chattin

Introduction In my previous post, I looked at logging APEX AI Agent requests and responses with Request and Response handlers. Logging is the first step because it shows you what is actually moving th

Introduction Logging is one of the first things you need when building serious AI Agents. Without it, debugging quickly becomes guesswork. You can see the final answer, but not always why the model ch

Context management patterns from building agents in Oracle APEX

I have used Oracle APEX Social Sign-On extensively. It is more convenient for users and moves the responsibility for managing passwords from developers to the experts. You can also use Social Sign-On to log into APEX Builder. If you are a developer, this saves time. If you are an administrator, it eliminates password sharing and allows access to be cut off immediately.
In this short, I will show you how to configure Office 365 authentication for APEX Builder.
First, create an 'App registration' in Microsoft Azure Active Directory. You will need to be an administrator of your Office 365 Tenant to complete these steps.

/apex_authentication.callback appended to the end, e.g. https://www.example.com/ords/apex_authentication.callback




⚠️ Take note of how to switch APEX Builder authentication back to its default setting. If something goes wrong, you may not be able to log in to APEX Builder unless you can switch back.
Set the Current Authentication Method:
-- Run from a schema with the APEX_ADMINISTRATOR_ROLE role
begin
apex_instance_admin.set_parameter
('APEX_BUILDER_AUTHENTICATION','METHOD');
commit;
end;
Values for METHOD: APEX (APEX Accounts), DB (Database Accounts - Default used by OCI Autonomous and APEX Services), SOCIAL (Social Sign-In)
Get the Current Authentication Method:
SELECT apex_instance_admin.get_parameter('APEX_BUILDER_AUTHENTICATION')
FROM sys.dual;
⚠️ Make sure you create an APEX Account that matches your Microsoft email address and assign access to all appropriate workspaces. For example, in the below screenshot, I have created an APEX user 'JON@CLOUDNUEVA.COM'. This matches my Office 365 email address. You do not have to set a password for these users. APEX uses them to Authorize you and decide if you are a Workspace Administrator, Developer, etc.
⏰ Also, remember to set up at least one user to access the INTERNAL workspace (or Administration Services on Oracle OCI Autonomous or APEX Service).




