tomas.morales
tomas.morales
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
Nice! It would be very useful
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
manual deploy gcp
Yes didnt stop me from anything 8080 cloud run default Env vars i just like to keep control of those so i did a script that reads a local env file Everything okay now, thx
42 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
manual deploy gcp
Yep, thanks for your help
42 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
✌🏾
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
manual deploy gcp
I ended up going with fly for now, in case i need to migrate in the future ill deal with this haha
42 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
Its what i said afterwards, i had a script to set env vars and without a space at the end of the envs file it didnt read the last var (the client url)
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
Dont think so its the server blocking, not the client
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
With https?
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
And that client url is the same url you use to access your app through the web?
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
That cors problem with wasp i would think only comes up with that env var not being correctly set as the server then uses it to allow cors
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
Did you check if the env var is actually set in the server? I also thought i had it until i printed it
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
So that was my issue, the variable for frontend url wasnt being set
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
I had a script to add env variables to my server deployed in fly.io and it wasnt taking into account the last env var if i didnt have an empty line at the end of my .env.server.prod file
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
In my case it was setting WASP_WEB_CLIENT_URL=https://ztudia.cl
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
That way wasp makes sure the server accepts requests from that url
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
You need to make sure that you set the env variable for the frontend url in your server
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
Your problem is that your front cant call your backend?
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
ok solved it, my env var wasnt being set because i missed a space at the end, sorry for the troubles
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
i just discovered it seems to be because of the CORS blocking my requests from front end to backend
35 replies
WWasp-lang
Created by tomas.morales on 6/11/2024 in #🙋questions
google login custom domain
ztudia.cl if you want to check out the problem, you will notice the login in landing page is not there and when i put comenzar it takes me to register and i cant register or login
35 replies