login modal pops up for a split second and disappears… help anyone?
tried deploying my nextjs-firebase app to Heroku, expected auth to work as it does in dev on localhost
login modal pops up for a split second and disappears… help anyone?
tried deploying my nextjs-firebase app to Heroku, expected auth to work as it does in dev on localhost
2
Answers
This can be because of your firebase Auth setup, check if you’re not referencing some speicific origin URLs that the Oauth works on. Maybe you’re mentioning only the
localhost
origin, but not the domain of the deployed project.That’s because you didn’t authorize your production domain given by heroku. you can follow the steps given below to fix it: