最近搜索


没有最近搜索

Dave Goddard's Avatar

Dave Goddard

已加入2024年12月11日

·

最后活动2024年12月11日

关注

0

关注者

0

活动总数

4

投票

0

订阅

2

活动概览

的最新活动 Dave Goddard

Dave Goddard 进行了评论,

评论Setting 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);
              });
            });
          }
        }
      }
    };

查看评论 · 已于 2024年12月11日 发布 · Dave Goddard

0

关注者

0

投票

0

评论


Dave Goddard 进行了评论,

社区评论 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);
              });
            });
          }
        }
      }
    };

查看评论 · 已于 2024年12月11日 编辑 · Dave Goddard

0

关注者

0

投票

0

评论