At present, firebase uses you need to set a secret in the following file. For more detail refer to Firebase here:
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=
// Replace at line 17
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';
Change auth Hooks
Comment another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;
At present, firebase uses you need to set a secret in the following file. For more detail refer to Firebase here:
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=
// Replace at line 17
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';
Change auth Hooks
Comment another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;
Set Firebase Config in .env
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=
src/store/ProviderWrapper.tsx
// Replace at line 27
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';
Change auth Hooks
Comment another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;
Set Firebase Config in .env
NEXT_PUBLIC_FIREBASE_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=
src/store/ProviderWrapper.jsx
// Replace at line 27
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';
Change auth Hooks
Comment another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;