Google OAuth redirect on Github Pages
I am really stuck on this one, I build an app that runs perfectly on my localhost
The login with Google works great and everything but now I deployed the app on GitHub Pages, it is accessible but when I try to log in with Google I get redirected to a URL containing the parameters from the login response and of course that URL doesn't exist so I get a 404 error.
I have set-up the redirect uri in Google Cloud and also in my Supabase account I set the site URL to the GitHub pages URL and a redirect to my localhost for development purposes
Does anyone have any idea where I can look for a solution?
The login with Google works great and everything but now I deployed the app on GitHub Pages, it is accessible but when I try to log in with Google I get redirected to a URL containing the parameters from the login response and of course that URL doesn't exist so I get a 404 error.
I have set-up the redirect uri in Google Cloud and also in my Supabase account I set the site URL to the GitHub pages URL and a redirect to my localhost for development purposes
Does anyone have any idea where I can look for a solution?