Login with getRedirectResult works on myproject.firebaseapp.com, but not on localhost

51 views
Skip to first unread message

Henrik Bechmann

unread,
Sep 10, 2024, 9:06:50 AMSep 10
to Firebase Google Group
On localhost, both getRedirectResult and onAuthStateChanged return null, even after I select a user (Google provider).

Stumped, and stackoverflow considers this a config problem.

I just renamed my project from tribalopolis-dev to workboxes-dev by copying everything from the former to the latter. Signing in with localhost using the former project works, but using the new project doesn't, so I've obviously missed something. But I'm stumped.

Any advice on how to resolve this would be appreciated.

- Henrik

Henrik Bechmann

unread,
Sep 11, 2024, 5:48:33 PMSep 11
to Firebase Google Group
Also the same codebase works fine on myproject.firebaseapp.com
Reply all
Reply to author
Forward
0 new messages