Pesquisas recentes
Sem pesquisas recentes

Justin DoCanto
Entrou em 10 de mar. de 2022
·
Última atividade em 14 de mar. de 2022
Seguindo
0
Seguidores
0
Atividade total
4
Votos
1
Assinatura
1
VISÃO GERAL DA ATIVIDADE
MEDALHAS
ARTIGOS
PUBLICAÇÕES
COMENTÁRIOS NA COMUNIDADE
COMENTÁRIOS EM ARTIGOS
VISÃO GERAL DA ATIVIDADE
Atividade mais recente por Justin DoCanto
Justin DoCanto comentou,
Hi Mick
Considering the console error I mentioned shows up even when there is nothing but the code I'm provided by Zendesk to install the messaging widget, and the console error is provided by Zendesk code, I completely disagree.
That said, I submitted a ticket. Hopefully, they can be more helpful. Thanks
Exibir comentário · Publicado 14 de mar. de 2022 · Justin DoCanto
0
Seguidores
0
Votos
0
Comentários
Justin DoCanto comentou,
Having an issue implementing authentication with this.
First, I embedded the script (actual key substituted with SECRETKEY)
Next, I generated the JWT with the user scope, external_id, etc., and verified the payload and encryption type using JWT.io. No problem there.
However, now that I look at it, I'm getting this error regardless of whether I'm trying to authenticate users or not. No matter what, the widget loads, but i get this.
Error: Method webWidget:on.open does not exist.
Check out the Developer API docs to make sure you're implementing it correctly, https://developer.zendesk.com/embeddables/docs/zendesk-sdk-for-web/getting_started
Despite this error, the widget still loads, just without any sign of authentication working. So, I can't tell if that's what's stopping my JWT authorization from working or if it's something else.
Also, Here's the code I found to authenticate. I've created a function that matches the callback to deliver the JWT token.
zE('messenger', 'loginUser', function (callback) {
callback('new-jwt-for-user');
});
Exibir comentário · Editado 10 de mar. de 2022 · Justin DoCanto
0
Seguidores
6
Votos
0
Comentários