Skip to Main Content
Feature Request FR-4551
Product Area Developer Experience
Status OPEN

3 Voters

multiple Authentication Schemes out of the box and include deep-linking as well with the owners

davide.nutricati Public
· Jul 9 2025

Idea Summary

Allow an application to register and use multiple authentication schemes out-of-the-box (for example Basic, Social Sign-In, SAML, OAuth2) and have APEX automatically handle deep-linking (capture & redirect RETURN_URL) for all of them, just as it does today for a single, native scheme.


Use Case

  • Mixed-access applications: Some pages public, some behind SAML, others via social login or custom REST-based auth.
  • Progressive rollout: Enable e.g. Social Sign-In on a subset of pages without disrupting existing database-user login.
  • Multi-tenant portals: Different customers require different identity providers (Azure AD, Google, Facebook) within the same app.
  • Consistent UX: Regardless of which scheme the user picks, deep-links (e.g. email notifications, bookmarks) always send them to the intended page after login.

Preferred Solution (Optional)

  1. APEX Builder Enhancement
    • In Shared Components > Authentication Schemes, allow selecting multiple active schemes and map each scheme to page-ranges or URL patterns.
  2. Automated Deep-Linking
    • Under the covers, APEX would:
      • On first request, detect the intended scheme, store the RETURN_URL in session/cookie
      • After authentication, retrieve and redirect to that RETURN_URL
    • Expose a declarative toggle (“Enable deep-linking”) so developers don’t have to write their own cookie/process logic.
  3. Plugin API
    • Extend apex_authentication APIs so custom schemes automatically inherit the RETURN_URL handling without extra PL/SQL.
This idea is open.

Comments

Comments

  • appex OP 7 days ago

    Support for this is highly desired - which could be a preference stored in tenant settings table along with identity provider details:

    • Multi-tenant portals: Different customers require different identity providers (Azure AD, Google, Facebook) within the same app.