Skip to content

Spelling Mistake in Readme of Auth Section #3333

Done

Description

@christopherblackza

Version info

Not version related since it's in the readme of the project.

Other (e.g. Ionic/Cordova, Node, browser, operating system):

How to reproduce these conditions

Copy the constructor code of the README file and run it anywhere in your project.

In the constructor of README the console log prints a variable that is not declared and produces undefined variable error.

Sample data and security rules

Debug output

** Screenshots **

Expected behavior

In the constructor of the section idToken in the README file the console log should be console.log(token);

Actual behavior

In the constructor of the section idToken in the README file the console log is trying to print a variable called string that does not exist.

Activity

  1. google-oss-bot commented on Apr 12, 2023

    @google-oss-bot

    This issue does not seem to follow the issue template. Make sure you provide all the required information.

  2. christopherblackza commented on Apr 14, 2023

    @christopherblackza
    Author

    Thanks @google-oss-bot , updated with more detail.

  3. kashyapkaki commented on May 7, 2023

    @kashyapkaki

    Hi @christopherblackza, seems like your screenshots are not uploaded correctly. Could you please upload the screenshots again so that I can figure out and update the Readme file accordingly.

  4. armando-navarro commented on Dec 4, 2026

    @armando-navarro
    Collaborator

    The idToken example in the auth docs logged string, which isn't declared in that callback. #3728 changed it to log the token parameter, so the snippet now runs when copied. docs/auth.md

    Closing this as fixed.

  5. added this to the 21.0.0-rc.1 milestone on Dec 4, 2026
  6. added
    comp: auth
    comp: docs
    Fixed!
    type: bug
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed!comp: authcomp: docstype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions