Skip to content

Commit f874bda

Browse files
author
Guru
committed
fix: verifier info
1 parent fae1a7a commit f874bda

File tree

1 file changed

+16
-16
lines changed
  • demo/redirect-flow-example/src

1 file changed

+16
-16
lines changed

demo/redirect-flow-example/src/App.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -205,23 +205,23 @@ function App() {
205205
if (!coreKitInstance) {
206206
throw new Error("initiated to login");
207207
}
208-
const verifierConfig = {
209-
subVerifierDetails: {
210-
typeOfLogin: "google",
211-
verifier: "w3a-google-demo",
212-
clientId: "519228911939-cri01h55lsjbsia1k7ll6qpalrus75ps.apps.googleusercontent.com",
213-
},
214-
};
215208
// const verifierConfig = {
216-
// aggregateVerifierIdentifier: "web-aggregate-core-kit",
217-
// subVerifierDetails: [
218-
// {
219-
// typeOfLogin: "google",
220-
// verifier: "web3-aggreate-google",
221-
// clientId: "759944447575-6rm643ia1i9ngmnme3eq5viiep5rp6s0.apps.googleusercontent.com",
222-
// },
223-
// ],
209+
// subVerifierDetails: {
210+
// typeOfLogin: "google",
211+
// verifier: "w3-google-temp",
212+
// clientId: "759944447575-6rm643ia1i9ngmnme3eq5viiep5rp6s0.apps.googleusercontent.com",
213+
// },
224214
// };
215+
const verifierConfig = {
216+
aggregateVerifierIdentifier: "web-aggregate-core-kit",
217+
subVerifierDetailsArray: [
218+
{
219+
typeOfLogin: "google",
220+
verifier: "w3-google-temp",
221+
clientId: "759944447575-6rm643ia1i9ngmnme3eq5viiep5rp6s0.apps.googleusercontent.com",
222+
},
223+
],
224+
};
225225

226226
await coreKitInstance.loginWithOAuth(verifierConfig as any);
227227
if (coreKitInstance.status === COREKIT_STATUS.LOGGED_IN) {
@@ -245,7 +245,7 @@ function App() {
245245

246246
// IMP START - Login
247247
const verifierConfig = {
248-
aggregateVerifierIdentifier: "aggregate-sapphire",
248+
aggregateVerifierIdentifier: "web-aggregate-core-kit",
249249
subVerifierDetailsArray: [
250250
{
251251
typeOfLogin: "jwt",

0 commit comments

Comments
 (0)