benwinding / react-admin-firebase

A firebase data provider for the react-admin framework
https://benwinding.github.io/react-admin-firebase/
MIT License
460 stars 175 forks source link

Firebase token Expires #277

Closed RexusWolf closed 1 year ago

RexusWolf commented 1 year ago

Hi,

I've added the AuthProvider to my React admin app. Just added the config with a couple of options.

const authProviderOptions: RAFirebaseOptions = {
  logging: true,
  persistence: 'none'
};

export const AuthProvider = FirebaseAuthProvider(firebaseConfig, authProviderOptions);

I'm getting this error when logging in:


"Firebase ID token has expired. Get a fresh ID token from your client app and try again (auth/id-token-expired).```

Am I missing something?