skip to Main Content

I created a new account to be able to better manage my projects in firebase, but with the FlutterFire tool I already started session with a different account, how can I close cetion in that account in FlutterFire and start with the new one? i would greatly appreciate your help!

Try to read in the project documentation but do not find that information :C

2

Answers


  1. If you’re asking how to sign in a different user in Firebase Authentication, you can:

    • Either first call await FirebaseAuth.instance.signOut(); (as shown here) and then sign in the other user.
    • Or immediately sign in the other user. That will automatically sign out the previous user, as the Firebase Authentication SDK can only have one current user at any time.
    Login or Signup to reply.
  2. Enter: ‘firebase logout’ in terminal
    If you havent setup firebase, set that first.
    https://github.com/chriso23/firebase-cli

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search