Could not deserialize key data on decoding JWT python

前端 未结 7 971
日久生厌
日久生厌 2021-01-02 07:51

I am using pyjwt library for decoding the JWT token. I got this error when I am decoding. The code was given in the documantation.

import jwt

encoded_jwt=\'         


        
相关标签:
7条回答
  • 2021-01-02 08:44

    For me, there were spaces in the key (silly IDE) which caused this issue, make sure that's not the case with you

    0 讨论(0)
提交回复
热议问题