WaspW
Wasp15mo ago
Wix

CORS error for login when google OAuth is enabled

Access to XMLHttpRequest at 'https://lecturelab-server.fly.dev/auth/me' from origin 'https://lecturelab-client.fly.dev' 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.

I get this error when i uncomment the google auth bit in main.wasp auth for opensaas it works in dev locally just not production
Was this page helpful?