Google login/email login etc. works on local host perfectly fine. (wasp start)
Testing on live website on a custom domain
Having authentication issues on live that is preventing identification of if I am logged in or not. Thus, not showing log in and log out button.
Access to XMLHttpRequest at 'https://gulearn-server.fly.dev/auth/me' from origin 'https://grulearning.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.gulearn-server.fly.dev/auth/me:1 Failed to load resource: net::ERR_FAILEDgrulearning.com/:1 Access to XMLHttpRequest at 'https://gulearn-server.fly.dev/auth/me' from origin 'https://grulearning.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://gulearn-server.fly.dev/auth/me' from origin 'https://grulearning.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.gulearn-server.fly.dev/auth/me:1 Failed to load resource: net::ERR_FAILEDgrulearning.com/:1 Access to XMLHttpRequest at 'https://gulearn-server.fly.dev/auth/me' from origin 'https://grulearning.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Attached are the fly.io server logs & console log on website.
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.