You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also important for CORS: You can't use an allowed origins setting of * when also using authentication. So if you use authentication you must specify each allowed origin explicitly.
And when using authentication from a browser, the javascript must set XMLHttpRequest.withCredentials to true on the request, otherwise the credentials are not sent to the server.
Hello,
Enabling CORS with
http.cors.enable
works for all/v1.1
routes, but does not seem to affect/ODATA_4.0/*
routes.Tried to enable
CorsFilter
inweb.xml
, even to move this config block to global Tomcatweb.xml
as suggested in the comments. No success.Is there some special way to enable CORS for OData routes ?
Thank you
Mathias
The text was updated successfully, but these errors were encountered: