Skip to content

The accessToken property is missing in the User interface #8209

@NicolasPlanass

Description

@NicolasPlanass

Operating System

iOS 16.4

Browser Version

Google Chrome 124.0.6367.79

Firebase SDK Version

10.11.1

Firebase SDK Product:

Auth

Describe your project's tooling

React App with Typescript

Describe the problem

The accessToken property is present in the User obj but is missing from the User interface and also the documentation

Steps and code to reproduce issue

  signInWithEmailAndPassword(auth, email, password).then((res) => {
      const token = res.user.accessToken;
    });

Error : Property 'accessToken' does not exist on type 'User'.ts(2339)

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