Documentation

    How to use Firestore Studio, from the first connection to restoring a change.

    Firebase Authentication

    List and search users

    Open the Users tab and find accounts.

    The Authentication user list
    1. Step 1: Select a project and choose Authentication in the sidebar.
    2. Step 2: The Users tab loads the first page of users. Use Load More or Load All, and the Limit per request box in the footer.
    3. Step 3: Use Refresh users to reload.

    The search box (Search by email, name, UID, phone, claims...) filters only the users already loaded. To look up an account that is not loaded, choose Advanced Search, then search by UID, email, phone number or provider (a provider ID such as google.com and a provider UID). Clear search results returns to the list.

    The grid supports column resize, hide and show, reorder and sort, and copying a cell or a range. How many users load per request is Settings, Auth Query Limit (1 to 1000).

    Note: If Authentication is not enabled for the project, the tab says Authentication not set up yet with Set up Authentication to open the Firebase Console.

    Create a user

    Add an Email, Phone or Anonymous user.

    Use Add User to create an account directly in the project. The dialog shows the account, type, project and tenant that the user will be created in, and you can set custom claims at the same time.

    1. Step 1: Choose Add User. The dialog Create New User shows the account, type, project and tenant it will use.
    2. Step 2: Choose the Provider: Email, Phone or Anonymous.
    3. Step 3: For Email, fill Email and Password (required), and optionally Display Name, Phone Number (such as +1234567890), Photo URL and Email Verified. For Phone, Phone Number is required.
    4. Step 4: Set Disabled if the account should start disabled.
    5. Step 5: Optional: under Custom Claims (Optional) add claims in the Fields or JSON tab.
    6. Step 6: Choose Create User (the button reads Create Phone User or Create Anonymous User for those providers).

    Note: The app validates the email and phone number and refuses an email that is already used, with the same messages Firebase returns. If the user is created but the claims fail, the app warns you.

    Edit, disable and delete users

    Change a profile, flip switches in the grid and remove users.

    Open the user actions button on a row. It offers Edit User Details, Delete User, Set Custom Claims and Copy User Data as JSON.

    1. Step 1: Choose Edit User Details. The dialog shows the UID and provider.
    2. Step 2: Change Email, Display Name, Phone Number, Photo URL, Email Verified, Disabled or the claims. Fields that a sign-in provider controls are locked.
    3. Step 3: Choose Update User.

    You can also double-click a name, email, phone or photo cell to edit it in place, and use the switches in the grid to change Email Verified and Disabled. To disable or enable many users, tick them and use Disable or Enable in the bar.

    Note: Every change is written to the audit log with the earlier value, so many can be restored. Passwords are never kept in the audit log, so a password change cannot be undone. The app does not offer revoking sessions or sending password reset emails.

    To delete users:

    1. Step 1: For one user, open the row actions and choose Delete User. For several, tick them and choose Delete in the bar.
    2. Step 2: Read the confirmation and choose Delete.

    A bulk delete runs as a background task and writes one audit entry per user with the user as it was.

    Warning: Deleting a user cannot be undone in Firebase. The audit log keeps the user data (not the password), but restoring a deleted user from the log is not always offered. Check the selection before you confirm: switching project or tenant clears the selection.

    Custom claims

    Set role and permission claims on one or many users.

    1. Step 1: For one user choose Set Custom Claims in the row actions. For many, tick users and choose Set Custom Claims in the bar.
    2. Step 2: Add claims in the Fields tab (key, type and value; types String, Number, Boolean and Array) or write an object in the JSON tab.
    3. Step 3: Confirm. The new claims replace the old ones.
    • The claims object may not be longer than 1000 characters once written as JSON.
    • These names are reserved and refused: acr, amr, at_hash, aud, auth_time, azp, cnf, c_hash, exp, iat, iss, jti, nbf, nonce, sub, firebase.
    • Clearing the claims removes them.

    Note: A user only receives new claims in a new ID token, so apps see the change after the token refreshes or the user signs in again.

    Tenants

    Work with Identity Platform multi-tenancy.

    When a project uses multi-tenancy, the tenant selector at the top of the Users tab lists Default users and each tenant. Choose one to list and manage its users. Open Tenant management for Enable Multi-Tenancy, Re-check Status, Create Tenant, Edit Tenant, Delete Tenant and Refresh Tenants.

    A tenant has a Display Name and switches for Email/Password Sign-In and Anonymous Sign-In.

    Note: Multi-tenancy needs Identity Platform. If the project is not upgraded, the dialog Identity Platform Required lists the steps: upgrade in the Firebase Console, enable the Identity Platform API in Google Cloud, then enable multi-tenancy.

    Warning: Delete Tenant permanently removes the tenant and all its users. On an emulator there is no tenant list: type a tenant ID, and a tenant exists once a user is created in it.

    Import, export and transfer users

    Move users as JSON or copy them to another project.

    Export opens Export Authentication Users. Choose the Source: Selected Users, Query Result or All Users, the project and tenant, then Export JSON. Exports from a real project include each user's password hash and salt, so treat the file as a secret. Exports from an emulator contain no password hashes.

    Import opens an Import tab. Choose the project and tenant, then Click to select a JSON file (exported user data). The review shows Total Users, With Email, With Phone, With Display Name, With Claims, With Password and With Providers.

    • Overwrite Existing replaces the account with the same UID, or for a record without a UID the one with its email or phone. A record whose email or phone belongs to a different UID fails.
    • Batch Size sets how many users are processed per batch.
    • The Password hashes block asks how to handle password hashes. An emulator has no hash configuration, so there the only choice is Import without passwords.

    Transfer copies users directly between projects, including from or to an emulator. Under From (Source) choose the records, project and tenant, under To (Target) the project and tenant, and a batch size from 1 to 1000. Transfer runs as a background task.

    Warning: Password hashes are not copied from an emulator, and a user created without a hash cannot sign in with a password until you set one. Check Overwrite Existing before you import into a project that already has users.

    Authentication emulator tools

    Settings, verification codes and reset for an emulator project.

    On an emulator connection the Users tab has an Emulator button (tooltip Emulator settings, codes and reset). It opens the Authentication emulator dialog with three tabs.

    • Settings: shows the emulator configuration, for example Allow several accounts with the same e-mail address and Improved e-mail privacy. A changed setting is what the emulator reports afterwards.
    • Codes: the e-mail links and SMS codes the emulator generated instead of sending, newest first, with Copy code and Copy link.
    • Reset: Delete all users… removes every user of the emulator project after a confirmation that names the connection, project and number of users.

    If the app cannot find the Authentication emulator, the tab says No Authentication emulator found and shows a host input with Save host.

    Note: Everything here targets the emulator only. The app never sends emulator requests to Google.