firebase / firebase/firebaseui-web-react

AnonymousAuthProvider signInOptions does not work; Throw a TypeError.

Open
#183 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
246
PR merge metrics
No merged PRs in 30d

Description

- Using `AnonymousAuthProvider` signInOptions does not work with `react-firebaseui`.
- It throws the following error: `Uncaught TypeError: fn(...).signInAnonymously is not a function`

Below is what my `uiConfig` looks like.

```
import { auth as firebaseuiAuth } from 'firebaseui';

const uiConfig = {
signInFlow: 'popup',
signInOptions: [
firebaseuiAuth.AnonymousAuthProvider.PROVIDER_ID,
],
};
```

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.