I am able to generate a jwt using python, but when I go to jwt.io, enter my generated token, add my secret (to verify signature), and then enable ‘Secret base64 encoded’ (with my secret value), I see the signature changes. Disable, it goes back to my generated token. How can I generate a token that has the signature base64 encoded? i’ve tried all kinds of things (I did split out the header/payload since they don’t change, and tried to ‘base64 encoded’, but nothing seems to work. I’ve googled around, I see a few other folks have the same question, one guy actually seemed to have found the answer using java, but I can’t seem to replicate his answer in python.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can we generate jwt token with java and can it be decoded with python. | 7 | 6203 | March 2, 2018 | |
How to use JWT token for authentication between a python and a java backend application | 0 | 2545 | April 13, 2023 | |
Signature verification failed in jwt.decode() | 1 | 944 | March 24, 2024 | |
How to Create a JWT in Java with the secret base64 encoded | 0 | 8955 | September 21, 2019 | |
Token validation with https://jwt.io/#debugger | 2 | 4413 | March 2, 2018 |