stack
stack copied to clipboard
CORS error while using with Docker
Hi. I setup docker with orbstack to be used with stack-auth, but when I visit myfrontend.local/handler/sign-in, I'm met with
Access to fetch at 'http://<stack_auth_url>.local:8102/api/v1/projects/current' from origin 'http://frontend.orb.local' has been blocked by CORS policy: Request header field ngrok-skip-browser-warning is not allowed by Access-Control-Allow-Headers in preflight response.
How can I avoid this? I already added Trusted Domains but seems like this CORS error isn't going away.