stack icon indicating copy to clipboard operation
stack copied to clipboard

CORS error while using with Docker

Open kaungmyatlwin opened this issue 7 months ago • 0 comments

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.

Image

kaungmyatlwin avatar May 22 '25 10:05 kaungmyatlwin