Home > front end >  Does Firebase Auth sign out requires internet connection?
Does Firebase Auth sign out requires internet connection?

Time:08-24

When performing sign out with Firebase Authentication, does it requires internet connection to successfully execute the task? It seems you can use Firebase.auth.signOut() even without having internet connection. Does signOut method only deletes the session in the local database or cache?

CodePudding user response:

Does signOut method only deletes the session in the local database or cache?

Yes, that's correct. The state of being "signed in" has nothing to do with the backend and has everything to do with the user token currently in use (specifically, that it is present and has not expired after one hour since the last refresh).

  • Related