When authenticating in firebase using the signInWithEmailAndPassword() API, I am unable to get a valid "current" user.
- I sign into the application with user name and password
auth.signInWithEmailAndPassword() I once signed in the user is taken to a Home page
I attempt to get the user's UID but there is no valid user returned. The call happens in an async function as such:
currentUser = await auth.currentUser(); currentUser is null.
Any ideas what could be causing this?