JWT to Firebase
At present, firebase uses you need to set a secret in the following file. For more detail refer to firebase here: https://firebase.google.com/docs/reference/rest/auth
...
###
## Firebase - Google Auth
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=
###
...
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;
Comment another provider in the following file and uncomment the Firebase one.
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';
Comment another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';
JWT to Firebase
At present, firebase uses you need to set a secret in the following file. For more detail refer to firebase here: https://firebase.google.com/docs/reference/rest/auth
...
###
## Firebase - Google Auth
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=
###
...
export const APP_AUTH: AuthProvider = AuthProvider.FIREBASE;
Comment another provider in the following file and uncomment the Firebase one.
import { FirebaseProvider as AuthProvider } from 'contexts/FirebaseContext';
Comment another context in the following file and uncomment the Firebase one.
import AuthContext from 'contexts/FirebaseContext';