Spaces:
Running
Running
File size: 844 Bytes
e7a5a81 55d2255 e7a5a81 5291bef e7a5a81 5291bef e7a5a81 55d2255 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | import { initializeApp } from 'firebase/app';
import { getAuth, GoogleAuthProvider, signInWithPopup, signInWithRedirect, getRedirectResult, signOut, onAuthStateChanged } from 'firebase/auth';
const firebaseConfig = {
apiKey: "AIzaSyCF9t3xPf_Se4qkqAHFRoW-YqG8LfoQIpo",
authDomain: "deepface-aditya.firebaseapp.com",
projectId: "deepface-aditya",
storageBucket: "deepface-aditya.firebasestorage.app",
messagingSenderId: "596616284131",
appId: "1:596616284131:web:8ad02bce5645a03e1b42d6",
measurementId: "G-44EVTLV0VL",
};
const fbApp = initializeApp(firebaseConfig);
const auth = getAuth(fbApp);
const googleProvider = new GoogleAuthProvider();
export { auth, googleProvider, signInWithPopup, signInWithRedirect, getRedirectResult, signOut, onAuthStateChanged };
|