skip to Main Content

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


  1. 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.

    Login or Signup to reply.
  2. That’s because you didn’t authorize your production domain given by heroku. you can follow the steps given below to fix it:

    • Go to firebase authentication
    • click on settings
    • then click Authorized domains and add your domain(url) given by heroku.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search