firebaseui-web-react icon indicating copy to clipboard operation
firebaseui-web-react copied to clipboard

AnonymousAuthProvider signInOptions does not work; Throw a TypeError.

Open chidexebere opened this issue 3 years ago • 0 comments

  • 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,
  ],
};

chidexebere avatar Oct 28 '22 07:10 chidexebere