Hello,
I'm encountering a 403 Forbidden error after enabling SAML in APEX with Entra-ID on a Prebuilt VirtualBox downloaded from Oracle Community Downloads. 1 I can log in with my username and password, but then I receive the error.
POST localhost /ords/apex_authentication.saml_callback 403
CORSAccessForbiddenException [statusCode=403, logLevel=INFO, errorCode=ORDS-13002: The request cannot be processed because it failed cross origin request validation Cause: This resource does not support Cross Origin Sharing requests, or the request Origin is not authorized to access this resource. Action: If ords is being reverse proxied ensure the front end server is propagating the host name, scheme and port correctly. If using mod_proxy ensure ProxyPreserveHost is set to On. If using SAML with Oracle APEX, ensure security.externalSessionTrustedOrigins is correctly configured. If using a RESTful Service ensure the Origins Allowed value is correctly configured]
I followed the guide Implementing Single Sign-On for APEX with Entra-ID and SAML on Oracle Autonomous Database.
Versions on the VirtualBox:
Oracle REST Data Services version: 24.2.3.r2011847
Oracle REST Data Services server info: jetty/10.0.21
Oracle REST Data Services java info: Java HotSpot(TM) 64-Bit Server VM 11.0.20+9-LTS-256
My question is:
How can I resolve the ORA-13002 error and successfully access APEX after enabling SAML with Entra-ID?
I've included relevant details about my setup and the error message. Any help or suggestions would be appreciated.
Thanks,
Jacob