Skip to content

Commit d5c2ff5

Browse files
committed
remove poikey and clientid
1 parent dea8b9f commit d5c2ff5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

face-login/main.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const container = document.getElementById("container");
44

55
function showError(e=null) {
66
container.innerHTML = "<h1>Something Went Wrong, see console for details</h1>";
7-
console.dir(e)
7+
console.log(e)
88
}
99

1010
function identifyUser(){
@@ -36,10 +36,10 @@ function identifyUser(){
3636
showError(error)
3737
// User not found. Add rejection your logic here
3838
},
39-
// isOneToOne: true,
40-
// oneToOneProps: {
41-
// identityId: "uuid/customerId of the user you want to match",
42-
// }
39+
isOneToOne: true,
40+
oneToOneProps: {
41+
identityId: "65d4d0dc9e37e4d46a2dbad9",
42+
}
4343
});
4444
}
4545

@@ -51,10 +51,10 @@ async function app() {
5151
try {
5252
// Create the instance of incode linked to a client
5353
const apiURL = import.meta.env.VITE_API_URL;
54-
const clientId = import.meta.env.VITE_CLIENT_ID;
55-
const apiKey = import.meta.env.VITE_API_KEY;
54+
//const clientId = import.meta.env.VITE_CLIENT_ID;
55+
//const apiKey = import.meta.env.VITE_API_KEY;
5656

57-
onBoarding = window.OnBoarding.create({clientId, apiURL, apiKey});
57+
onBoarding = window.OnBoarding.create({apiURL});
5858

5959
// Incode web_sdk need to preload some core component before being usable
6060
container.innerHTML = "<h1>Warming up...</h1>";

0 commit comments

Comments
 (0)