I am trying to set up JWT to submit tickets. The JWT method seems to work only when the user is trying to submit the ticket and is not a registered agent in the app.
The scenario that happened is: I set up JWT, tested with external users, and worked properly. Then tested with an internal user ( the email used for creating JWT and the email of the Zendesk agent were the same ) and I got the 403 unauthorized error. I downgraded the user from agent to end-user and JWT worked properly!
Please advise me on this issue. Is there some sort of limitations on using JWT?
Thanks
Zendesk Support with JWT
This topic has been closed for replies.
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
Good day, Reza
Reason why you are seeing 403's when trying to authenticate your agents is that Mobile SDK was not designed with agents in mind, and there's no way to authenticate internal users in your app, as you have already proven.
Here's an article that will answer your question in detail: Why do all requests from the Mobile Support SDK suddenly fail with a 403 Forbidden error code?
For agents, we suggest to use our Mobile Support apps, which will allow agents to work on tickets and Mobile Chat app to serve chats.