最近搜索


没有最近搜索

Error setting up end user authentication in messaging



已于 2022年3月24日 发布

Have set up my server to generate a JWT which I was able to verify using jwt.io. But when my iOS app tries to use the token to authenticate with Zendesk, I get the following error: "failedToDecodeJWT". This is currently happening within the sandbox environment (haven't tried in production yet). Not sure how to troubleshoot at this point since it seems like the token should be valid.


1

3

3 条评论

Attaching screenshots of the code here

0


image avatar

Christopher Kennedy

Zendesk Developer Advocacy

Hi Xinran,
 
Are you seeing a request to https://<your_subdomain>.zendesk.com/access/sdk/jwt and an HTTP status code in the response?
 
Best,

0


image avatar

Mick O'Donnell

Zendesk Product Manager

Also,

I'm not sure if this is the problem, but the comma at the end of your external_id line, kid line and your headers line shouldn't be there. This may be causing the JSON payload to be malformed.

Example of building the payload are here.

0


请先登录再写评论。

找不到所需的内容?

新建帖子