diff --git a/mpc-core-kit/mpc-core-kit-react-firebase-example/src/App.tsx b/mpc-core-kit/mpc-core-kit-react-firebase-example/src/App.tsx index a9965ba7..d9274920 100644 --- a/mpc-core-kit/mpc-core-kit-react-firebase-example/src/App.tsx +++ b/mpc-core-kit/mpc-core-kit-react-firebase-example/src/App.tsx @@ -102,6 +102,7 @@ function App() { try { const auth = getAuth(app); const googleProvider = new GoogleAuthProvider(); + googleProvider.addScope("email"); const res = await signInWithPopup(auth, googleProvider); console.log(res); return res; @@ -123,7 +124,7 @@ function App() { const idTokenLoginParams = { verifier: "w3a-firebase-demo", - verifierId: parsedToken.email, + verifierId: parsedToken.sub, idToken, } as IdTokenLoginParams;