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