Open
Description
[REQUIRED] Describe your environment
- Firebase SDK version: 5.2.0
- Firebase Product: auth
[REQUIRED] Describe the problem
It would be really helpful if onAuthStateChanged
also returned a UserCredential
object together with AdditionalUserInfo
. I currently use onAuthStateChanged
to manage login events and it would be great if I could determine whether it's a new user or not and redirect him to the proper page.