Recent searches


No recent searches

Dave Goddard's Avatar

Dave Goddard

Joined Dec 11, 2024

·

Last activity Dec 11, 2024

Following

0

Followers

0

Total activity

4

Votes

0

Subscriptions

2

ACTIVITY OVERVIEW

Latest activity by Dave Goddard

Dave Goddard commented,

CommentSetting up Zendesk Chat

Hello. I am receiving exactly the same 403 from https://marketplacer.zendesk.com/embeddable/authenticate when using 

the below. 

 

The documentation said to add “chat" between “authenticate” and “jwtFn”, however when I do that nothing happens at all. I noticed that the javascript code specifies both so tried this.

 

I should mention that I have tried placing this both before and after the script tag for “https://static.zdassets.com/ekr/snippet.js?key=[MYKEY]”

 

Is there any way to see logs in zendesk for "embeddable/authenticate" to debug the problem?

    window.zESettings = {
      webWidget: {
        authenticate: { // authenticate.chat
          jwtFn: function(callback) {
            fetch('/api/int/administration/zendesk_jwt/token').then(function(res) {
              res.text().then(function(jwt) {
                console.log({ jwtEz: jwt });
                callback(jwt);
              });
            });
          }
        }
      }
    };

View comment · Posted Dec 11, 2024 · Dave Goddard

0

Followers

0

Votes

0

Comments


Dave Goddard commented,

Community comment Developer - Zendesk APIs

Hello. I am receiving exactly the same 403 from https://marketplacer.zendesk.com/embeddable/authenticate when using 

the below. The documentation said to add “chat" between “authenticate” and “jwtFn”, however when I do that nothing happens at all. I noticed that the javascript code specifies both so tried this. Was there a resolution to the above?

I should mention that I have tried placing this both before and after the script tag for “https://static.zdassets.com/ekr/snippet.js?key=[MYKEY]”

 

    window.zESettings = {
      webWidget: {
        authenticate: { // authenticate.chat
          jwtFn: function(callback) {
            fetch('/api/int/administration/zendesk_jwt/token').then(function(res) {
              res.text().then(function(jwt) {
                console.log({ jwtEz: jwt });
                callback(jwt);
              });
            });
          }
        }
      }
    };

View comment · Edited Dec 11, 2024 · Dave Goddard

0

Followers

0

Votes

0

Comments