Hello,
I try to use Apex-Nitro in order to enable the power of react.js with APEX.
I've tried to configure APEX and apex-nitro as describe in the apex-nitro documentation.
Now the issue I face is that when I launch the apex-nitro server with this command
apex-nitro launch
I have these results:
APEX Nitro
...Now launching!
Open up your favorite code editor to /my_app/src
Any change you make is synchronized to your APEX app in real time.
Watching for changes...
[APEX Nitro] Proxying: http://localhost:8080
[APEX Nitro] Access URLs:
------------------------------------------------
Local: http://localhost:4000/ords/f?p=4050
External: http://10.1.171.187:4000/ords/f?p=4050
When I go to the given URL I have the login page of my app. When I enter my credentials this error is fire:
Request Method: POST
Status Code: 403 Forbidden (from service worker)
{
"code": "Forbidden",
"title": "Forbidden",
"message": "The request cannot be processed because it failed cross origin request validation ",
"o:errorCode": "ORDS-13002",
"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",
"type": "tag:oracle.com,2020:error/Forbidden",
"instance": "tag:oracle.com,2020:ecid/_XoRG4WuaXA_aibVjk1C9g"
}