Skip to content

Instantly share code, notes, and snippets.

@z3ndaron
z3ndaron / index.html
Created June 25, 2019 02:00
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