firebase / firebase/firebase-js-sdk

docs references error.credential, which doesn't exist

Open
#7,610 2 comments 0 reactions 0 assignees View on GitHub
api: auth bug documentation needs-attention
Dominant language
TypeScript
Stars
5.1k
Forks
1k
Avg merge
2d 21h
Merged PRs (30d)
37

Description

### Operating System

macOS

### Browser Version

Safari 16.5.2

### Firebase SDK Version

10.1.0

### Firebase SDK Product:

Auth

### Describe your project's tooling

index.html with source tag.

### Describe the problem

The document references error.credential, which doesn't exist on firebase v9.

### Steps and code to reproduce issue

[This link](https://firebase.google.com/docs/auth/web/google-signin#expandable-1) shows the following line `var pendingCred = error.credential;`. This doesn't exist, and the problem was already [reported on so](https://stackoverflow.com/questions/76295669/firebase-error-credential-does-not-exist-when-it-should-for-anonymous-auth-fal).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.