Skip to Main Content
Feature Request FR-4524
Status CLOSED

4 Voters

Add OAuth 2.0 Support for Email in Oracle APEX Instance email Settings

badanikareem Public
· Jun 24 2025

Idea Summary
To align with modern security standards and upcoming changes by major email providers, Oracle APEX should support OAuth 2.0 authenticatio for sending emails via SMTP in Instance Settings. This will enable secure email delivery using providers that are phasing out basic authentication, such as Office 365.

Use Case
APEX applications often rely on outbound email for user notifications, approvals, and system alerts. Currently, these emails are sent using SMTP with basic authentication (username and password), which is increasingly being deprecated across the industry.

For example:

  • Microsoft is retiring Basic Auth for SMTP in Exchange Online (O365) by September 2025, requiring OAuth 2.0 instead.
  • Other providers like Google Workspace have already enforced similar changes.

Organizations using such providers will face disruptions if APEX does not support OAuth 2.0 natively for email configuration.

Preferred Solution (Optional)

Enhance Oracle APEX Instance Settings to include support for OAuth 2.0 authentication in email configuration inside Instanc Setting.

We reviewed this idea carefully, and while it was interesting, we concluded that it is unlikely to make its way into APEX in the foreseeable future.

Comments

Comments

  • sikandar.awan OP 7 weeks ago

    It need to be considered as if Microsoft will stop Basic Auth then many companies will suffer. Thanks

  • carsten.czarski APEX Team OP 7 weeks ago

    Under the covers, APEX uses UTL_SMTP PLSQL API to interact with mail servers. UTL_SMTP currently does not support OAuth-based authentication (SASL XOAUTH2). APEX would first need an enhancement in UTL_SMTP (Oracle Database), then such  functionality can be hooked up in APEX.