Doubt Authentication
My application has Google sign-in, and it works perfectly when I'm in local development, since when its setup as localhost:3000, and after authentication, it redirects within localhost:3000, and everything was fine up to that point.
The issue arises when I'm trying to deploy this to Netlify. Obviously, if I update this input with the Netlify URL, it works, but then I can't continue working locally.
Is it necessary to have two separate applications for this? Is there a way to redirect to a different URL if I'm in development mode?
Thank you in advance!
The issue arises when I'm trying to deploy this to Netlify. Obviously, if I update this input with the Netlify URL, it works, but then I can't continue working locally.
Is it necessary to have two separate applications for this? Is there a way to redirect to a different URL if I'm in development mode?
Thank you in advance!
