Google authentication with supabase/React working on localhost but not on production on Vercel
I know this question has already popped up on internet, but I tried all proposed solutions and none worked.
I have some simple authentication with a google token which works fine on localhost (the rest is “simple” React).
When deployed on Vercel, I get the error “This site can’t be reached” if I authenticate with Google credentials.
Now I noticed in the bar of the browser, it trying to access : “http://localhost:5173/#access_token=…” maybe something went wrong in the compiling of the react code?