JWT Authentication 401 Error

답변함

1 댓글

  • Greg Katechis
    Zendesk Developer Advocacy
    Hi Ankush! I checked the logs for your account and the reason that you're seeing this error is because you're not including a name in the JWT payload, as we outline as being required in our documentation. Additionally, the iat parameter is being used incorrectly. You are passing in 86,400 seconds, when the RFC spec notes that this is supposed to be the time that the token was issued. At Zendesk, this must be within 3 minutes of the time the token is being used. 
     
    If this is your first time using JWT, I would recommend checking out jwt.io for some great resources on how to use it, as well as how to debug issues that you're having.
    0

댓글을 남기려면 로그인하세요.

Zendesk 제공