firebase / firebase/firebaseui-web-react
AnonymousAuthProvider signInOptions does not work; Throw a TypeError.
- 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
Research direction
Start by reproducing the reported uiConfig with AnonymousAuthProvider and trace the sign-in path that reaches the reported signInAnonymously TypeError. Done means anonymous sign-in works through react-firebaseui without that error; the payload does not name a source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- firebase, javascript, react
- Domain
- authentication, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100