Recherches récentes


Pas de recherche récente

Dave Goddard's Avatar

Dave Goddard

Adhésion le 11 déc. 2024

·

Dernière activité le 11 déc. 2024

Suivis

0

Abonnés

0

Activité totale

4

Votes

0

Abonnements

2

APERÇU DES ACTIVITÉS

Dernière activité effectuée par Dave Goddard

Dave Goddard a ajouté un commentaire,

CommentaireSetting 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);
              });
            });
          }
        }
      }
    };

Afficher le commentaire · Publication le 11 déc. 2024 · Dave Goddard

0

Abonnés

0

Votes

0

Commentaire


Dave Goddard a ajouté un commentaire,

Commentaire de la communauté 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);
              });
            });
          }
        }
      }
    };

Afficher le commentaire · Modification le 11 déc. 2024 · Dave Goddard

0

Abonnés

0

Votes

0

Commentaire