Skip to content

Commit d58e2f8

Browse files
authored
Update miaw_local_auth.html
1 parent 46e20c9 commit d58e2f8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ruhi/miaw_local_auth.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
embeddedservice_bootstrap.init(
1212
'00Dxx0000006Gm7',
13-
'MsgChannelAuth',
14-
'https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMsgChannelAuth1754585006935',
13+
'MIAWAuth28Sept',
14+
'https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWAuth28Sept1759044962682',
1515
{
1616
scrt2URL: 'https://chatorg.my.localhost.sfdcdev.salesforce-scrt.com:18000'
1717
}
@@ -20,18 +20,19 @@
2020
console.error('Error loading Embedded Messaging: ', err);
2121
}
2222
};
23+
2324
function setJwtToken(){
2425
embeddedservice_bootstrap.userVerificationAPI.setIdentityToken({
2526
identityTokenType : "JWT",
26-
identityToken : "eyJraWQiOiIxMjM0NSIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJ0ZXN0SXNzdWVyIiwic3ViIjoidXNlcjEiLCJleHAiOjE3NTk2NDM0NzAsImlhdCI6MTc1OTA0MzQ3MH0.ksmmUiNq2e8F9k3QDkP1HuPEUnha_oIi0cnmLae8Xp3InJdNwDsowek6RB97mk31wfwX0ayJJloB4dGau1WntFEPVS8XxQoq9wqjIgh8na_XRs0Hu0fyvnj5EmMCjw-hdIRWgM_NbXdSHta6FGLickaLPXgs4nQGW0qOejEiyQWqFqFprl5F4tyEP6wcYlieZH8fRkiClRGGxXWmQMb9xzqBSxMCsS2MikTj3YQeGdPkkr7WfVkatRASBgyjVmBx_zHz2qLWHNxZQ7Hz0kDL-ZbalfoOHIB1DxZYShmfwCG76uKSpIMSFIKrWGoTx7IdUDIZuC4DyYug7Oh0jKOYgA" // paste the JWT token created inside the quotes
27+
identityToken : "eyJraWQiOiIxMjM0NSIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJ0ZXN0SXNzdWVyIiwic3ViIjoidXNlcjEiLCJleHAiOjE3NTMzMzUwNTcsImlhdCI6MTc1MjczNTA1N30.GZRy0bVr5df4LrXt6tTKueE22AlJAQF3qOYUOW0yDOmKA5W9QCNIrf41P7XFEssgGwI5yxY82t3KunXz1T0_hD2yd3mlCFHxJMJFnAj4Svgi282Nc8bOqg-E1qJngcf7WhLrtmqxibwI5kJlHYeNnpzg7GCX7-mMMGX4NUUiITZva6Wt10ZvCsrf_16_RSEwdi_R_fqHW3o2ZGGB6ug1b118JYn27zbprhzWp1MPQkR9tpxbwJCS3I_kMDRsc0cjdSOjWtsygNbzze2_p7sf6vtz9vZNQGgBOOKrMzhzyqKT0iTb5SdG_LQqzHVVm64twfLdAvGJfOsMKBN-jD4wvQ" // paste the JWT token created inside the quotes
2728
});
2829
}
2930
window.addEventListener("onEmbeddedMessagingReady",() => {
3031
setJwtToken();
3132
console.log("JWT Token is Set");
3233
});
3334
</script>
34-
<script type='text/javascript' src='https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMsgChannelAuth1754585006935/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
35+
<script type='text/javascript' src='https://chatorg.my.localhost.sfdcdev.site.com:6101/ESWMIAWAuth28Sept1759044962682/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
3536

3637
</body>
3738
</html>

0 commit comments

Comments
 (0)