79167128

Date: 2024-11-07 15:31:45
Score: 6.5 🚩
Natty:
Report link

I am facing an issue with 'signInWithRedirect'. I had an old website and signInWithRedirect was working fine. However, after the authentication process, it shows that the user is not signed in if I try to fetch the user using 'onAuthStateChanged'.

I checked my firebaseConfig and everything is okay. localhost is also added in Authorized domains. I also checked this "https://firebase.google.com/docs/auth/web/redirect-best-practices?hl=en&authuser=0&_gl=1dzwk51_gaMTU2NjQzMDEzOC4xNzI5MDU1MDIw_ga_CW55HF8NVT*MTczMDk5MDcwNy44NS4xLjE3MzA5OTI0MTEuNjAuMC4w#web" and everything seems okay.

As I am running my web app on localhost, I am using option 1 in above mentioned link, I do not know anything about 'continue_uri'. Anybody can help me? I am stuck in this for days. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (3): Anybody can help me
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: WasimSafdar