Firebase
At present, Firebase requires you to set a secret in the following file. For more details, refer to Firebase here: https://firebase.google.com/docs/reference/rest/auth
Set Firebase Config in .env
VITE_APP_FIREBASE_API_KEY=
VITE_APP_FIREBASE_AUTH_DOMAIN=
VITE_APP_FIREBASE_PROJECT_ID=
VITE_APP_FIREBASE_STORAGE_BUCKET=
VITE_APP_FIREBASE_MESSAGING_SENDER_ID=
VITE_APP_FIREBASE_APP_ID=
VITE_APP_FIREBASE_MEASUREMENT_ID=Change AuthProvider
// Replace at line 17
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';Change auth Hooks
Comment out another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';Change Auth Login Method
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;At present, Firebase requires you to set a secret in the following file. For more details, refer to Firebase here: https://firebase.google.com/docs/reference/rest/auth
Set Firebase Config in .env
VITE_APP_FIREBASE_API_KEY=
VITE_APP_FIREBASE_AUTH_DOMAIN=
VITE_APP_FIREBASE_PROJECT_ID=
VITE_APP_FIREBASE_STORAGE_BUCKET=
VITE_APP_FIREBASE_MESSAGING_SENDER_ID=
VITE_APP_FIREBASE_APP_ID=
VITE_APP_FIREBASE_MEASUREMENT_ID=Change AuthProvider
// Replace at line 17
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';Change auth Hooks
Comment out another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';Change Auth Login Method
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;At present, Firebase requires you to set a secret in the following file. For more details, refer to Firebase here: https://firebase.google.com/docs/reference/rest/auth
Set Firebase Config in .env
Change AuthProvider
Change auth Hooks
Comment out another context in the following file and uncomment the Firebase one.
Change Auth Login Method
At present, Firebase requires you to set a secret in the following file. For more details, refer to Firebase here: https://firebase.google.com/docs/reference/rest/auth
Set Firebase Config in .env
Change AuthProvider
Change auth Hooks
Comment out another context in the following file and uncomment the Firebase one.
Change Auth Login Method
Last updated
Was this helpful?