Emre (Cerbos)
es degan
02/05/2022, 9:23 AMDennis (Cerbos)
Muhammad Awais Ullah
02/13/2022, 6:43 PMMajid
02/14/2022, 7:26 PMAlex Olivier (Cerbos)
Elodie Philippe
02/22/2022, 4:02 PMMuhammad Awais Ullah
02/23/2022, 9:34 AMEmre (Cerbos)
Emre (Cerbos)
Manuel Jager
03/07/2022, 9:02 AMEmre (Cerbos)
Emre (Cerbos)
Jake Hazelke
03/31/2022, 2:34 PMpost
request), I'm getting the following error:
Access to XMLHttpRequest at '<http://localhost:4120/api/check>' from origin '<http://localhost:4200>' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
http://localhost:4200 is my angular app, http://localhost:4120/ is my Cerbos server. While reading through the Cerbos docs, it looks like CORS should be enabled by default.
I also tried setting up a proxy (similar to this) to route http://localhost:4200/proxy/api/check -> http://localhost:4120/api/check, but when I do that, I get a connection refused:
[webpack-dev-server] [HPM] Error occurred while proxying request localhost:4200/api/server_info to <http://localhost:4120/> [ECONNREFUSED] (<https://nodejs.org/api/errors.html#errors_common_system_errors>)
Any thoughts?Alex Olivier (Cerbos)
Alex Olivier (Cerbos)
Gavin Ray
04/25/2022, 2:05 PMJesum Yip
05/04/2022, 6:05 AMEmre (Cerbos)
Napoleon Ponaparte
05/14/2022, 10:26 AMEmre (Cerbos)
Emre (Cerbos)
Emre (Cerbos)
Chaiwa Berian
05/26/2022, 1:08 PMEmre (Cerbos)
Ming Fang
06/04/2022, 3:16 AMFlorent Giraud
06/08/2022, 1:17 PMRasmus Dencker
06/09/2022, 4:00 PMAlex Olivier (Cerbos)
seala va
06/14/2022, 3:57 AM