Hey all,
My team currently uses Google Firebase for all authentication. Currently we support 1.) signing in with Google and 2.) signing in with a username and password. For reference, our tech stack is SPA written in React and typescript.
I’m trying to migrate to Auth0, but I’m having a few issues:
- While Auth0 can easily add a “Sign in with Google”, I don’t know how to migrate all of the old usernames and passwords that are currently in firebase.
- We currently rely on a
uid
that Firebase returns to identify users for analytics. I imagine this would change when I switch users over to Auth0. Any way to use the same uid? - Firebase has a handy callback,
authInstance.onAuthStateChanged
, that we can tap into whenever a user gets automatically logged out. Does Auth0 have anything similar?