최근 검색


최근 검색 없음

Justin DoCanto's Avatar

Justin DoCanto

가입한 날짜: 2022년 3월 10일

·

마지막 활동: 2022년 3월 14일

팔로잉

0

팔로워

0

총 활동 수

4

투표

1

가입 플랜

1

활동 개요

님의 최근 활동 Justin DoCanto

Justin DoCanto님이 에 댓글을 입력함

댓글Web Widget documentation

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

댓글 보기 · 2022년 3월 14일에 게시됨 · Justin DoCanto

0

팔로워

0

투표 수

0

댓글


Justin DoCanto님이 에 댓글을 입력함

댓글Web Widget documentation

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');});
 
It feels like I'm somehow missing something or using the wrong combinations of widgets and authentication? Would love some insight or better samples as the helpdesk info on authenticating users is incredibly segmented amongst 10+ articles with no all-in-one code sample
 
 

댓글 보기 · 2022년 3월 10일에 편집됨 · Justin DoCanto

0

팔로워

6

투표 수

0

댓글