Skip to content

[Documentation] Do all browser tabs in the same browser session return the same Firebase anonymous authentification id? #8640

@andynewman10

Description

@andynewman10

Operating System

All

Environment (if applicable)

Chrome

Firebase SDK Version

10.x/11.x

Firebase SDK Product(s)

Auth

Project Tooling

Plain JavaScript

Detailed Problem Description

On the web, when performing Firebase anonymous authentification, is it guaranteed that the same authentification id will be returned across all browser tabs, or is Firebase anonymous authentification specific to the JavaScript/window.sessionStorage space it is running in? I do not see this information in the documentation, however this information is important for developers.

Steps and code to reproduce issue

  • create a JavaScript web page with Firebase set up and sign in anonymously using Firebase
  • open the same page in a second tab and repeat the process. Compare the returned authentification IDs. Are they guaranteed to be equal? Based on my experience, they are.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions