Joshua
Joshua
WWasp-lang
Created by Joshua on 4/7/2024 in #đŸ™‹questions
Authentication Issues Live
Latest Wasp on WSL, using Open SaaS
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_FAILED
grulearning.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_FAILED
grulearning.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.
37 replies
WWasp-lang
Created by Joshua on 4/5/2024 in #đŸ™‹questions
Checking certs for custom domain
WSL , latest wasp version Trying to figure out how to check my A and AAAA records for a domain I've chosen after the initial set up. (stuck to https://wasp-lang.dev/docs/advanced/deployment/cli#using-a-custom-domain-for-your-app) I realized, that on my domain host it had the original DNS still there with the new, which I think stopped my custom domain from going up. Though... I didn't document my A & AAAA, When I re-run the code I get the error Error: Hostname already exists on app And am struggling to get the certs to reappear (I'm sure it's a simple command) or I have to remove it and then reinitiate it (which I also couldn't find clear direction on) Thanks!
14 replies
WWasp-lang
Created by Joshua on 4/5/2024 in #đŸ™‹questions
Database not connecting on fly.io
No description
24 replies