-
User identity is not specified in index.html: User sees missing/Invalid jwt.sub() when users email id is not given in index.html file.
Provide users identity as shown below in index.html
botOptions.userIdentity = ‘x@gmail.com’;// Provide users email id here. -
Wrong ClientID is given in index.html: User sees the following error when either wrong clientID or no clientID is given.
Provide correct ClientID you get from Bot – Apps and Agents option
botOptions.clientId = “{clientID}”; // secure client-id -
Wrong clientSecret is given in index.html: User sees the following error when either wrong clientSecret or no clientSecret is given.
Provide correct clientSecret you get from Bot – Apps and Agents option
“clientSecret”: "{clientSecret}” //provide clientSecret here -
Wrong url is given in index.html: When wrong url is given, users see a 404 error.
Double check the URL and provide it correctly. URL changes depending on you are hosting the bot on your own web sdk or on Kore’s web sdk. If its Kore web sdk, then the URL is http://demo.kore.net:3000/users/sts. If you are hosting on your inhouse web sdk, then provide the respective URL.
1 Like