Could not deserialize key data on decoding JWT python

前端 未结 7 1024
日久生厌
日久生厌 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

提交回复
热议问题