Skip to content

Commit c2538e7

Browse files
committed
moved to /0 without clientid
1 parent 5ca3ed5 commit c2538e7

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

vite-web-sdk/.env.example

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
VITE_TOKEN_SERVER_URL=/api
2-
VITE_CLIENT_ID=<your client id>
32
VITE_LOCAL_SERVER_URL=https://your-ip:port/
4-
VITE_API_URL=https://demo-api.incodesmile.com
3+
VITE_API_URL=https://demo-api.incodesmile.com/0
54
VITE_SDK_URL=https://sdk.incode.com/sdk/onBoarding-1.69.1.js

vite-web-sdk/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ Run `npm install`
6666
Copy `.env.example` to `.env.local` and add your local values
6767
```
6868
VITE_TOKEN_SERVER_URL=/api
69-
VITE_CLIENT_ID=<client id>
7069
VITE_LOCAL_SERVER_URL=https://your-ip:port/
71-
VITE_API_URL=https://demo-api.incodesmile.com
70+
VITE_API_URL=https://demo-api.incodesmile.com/0
7271
VITE_SDK_URL=https://sdk.incode.com/sdk/onBoarding-1.69.0.js
7372
```
7473
Remember the Flow holds the backend counter part of the process, some configurations there might affect the behavior of the WebSDK here.

vite-web-sdk/main.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ async function app() {
107107
try {
108108
// Create the instance of incode linked to a client
109109
const apiURL = import.meta.env.VITE_API_URL;
110-
const clientId = import.meta.env.VITE_CLIENT_ID;
111110
incode = window.OnBoarding.create({
112-
clientId: clientId,
113111
apiURL: apiURL
114112
});
115113

0 commit comments

Comments
 (0)