Skip to content

Commit

Permalink
fix verifierID to sub
Browse files Browse the repository at this point in the history
  • Loading branch information
hqjang-pepper committed Oct 24, 2023
1 parent 2992806 commit cd80f47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mpc-core-kit/mpc-core-kit-react-firebase-example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -123,7 +124,7 @@ function App() {

const idTokenLoginParams = {
verifier: "w3a-firebase-demo",
verifierId: parsedToken.email,
verifierId: parsedToken.sub,
idToken,
} as IdTokenLoginParams;

Expand Down

0 comments on commit cd80f47

Please sign in to comment.