Skip to content

Instantly share code, notes, and snippets.

@z3ndaron z3ndaron/index.html
Created Jun 25, 2019

Embed
What would you like to do?
Re-authenticate using jwtFn
<script type="text/javascript">
window.zESettings = {
webWidget: {
authenticate: {
jwtFn: function(<callback>) { // for help center authentication
// Fetch your jwt token and then call our supplied callback.
callback('YOUR_JWT_TOKEN');
},
chat: {
jwtFn: function(<callback>) { // for chat authentication
// Fetch your jwt token and then call our supplied callback.
callback('YOUR_JWT_TOKEN');
}
}
}
}
};
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.