Anonymous Login
Prerequisites
Before getting started with this section:
- Complete Firebase Setup
- Complete Initial Setup required for authentication.
- Learn more about the concepts of Anonymous Authentication
Enable Anonymous Authentication in Firebase
To enable Anonymous authentication, first go to your Firebase console and enable the authentication provider:
Add Anonymous Login Action
-
On the button designated for anonymous authentication, add a new Action.
-
Search for and select the Log In action (located under Backend/Database > Firebase Authentication).
-
Set the Auth Provider to Anonymous.
-
Enable the Create User Document toggle and set the Collection to users. This action will create an entry for the user in the database without any details upon successful login.
info
To let users log out of your app, you can use the Logout action.