A developer may want to allow different users to sign in to an application.Until that user is upgraded to a non-anonymous account (federated, password, In some situations, a developer may want to not persist an anonymous user.This could be done by adding a "Remember me" option during sign-in. To provide a user with the ability to choose whether to persist their session The developer is unable to tell how that application is accessed and may want An application on a shared device that might be accessed by multiple users.A commonĮxample here is an app running in a library computer. Applications that are used on a device shared by multiple users.This is important in case the user forgets to sign out. Applications with sensitive data may want to clear the state when the window.However, there are cases where this behavior may not be ideal: SMS verification, etc, which could add a lot of friction to the user experience.
This could require the user having to re-enter their password, send an Required to continuously sign-in every time the web page is visited on the sameĭevice. This includes the ability to specify whether a signed in user shouldīe indefinitely persisted until explicit sign out, cleared when the window isįor a web application, the default behavior is to persist a user's session evenĪfter the user closes the browser. You can specify how the Authentication state persists when using the Firebase