ReallySimpleJWT icon indicating copy to clipboard operation
ReallySimpleJWT copied to clipboard

Get payload without the token secret like on jwt.io?

Open h110m opened this issue 4 years ago • 1 comments

Question should say everything. Why do i have to insert the token secret when i just want for example my uid value from the payload. I mean when i am posting my token inside https://jwt.io/#debugger-io i can also just access my values.

Edit: Just figured out you can also just pass an empty string into the getPayload function. But please update your code and the documentation to make this argument optional!

h110m avatar Apr 20 '21 23:04 h110m

Apologies for the slow response, thanks for the feedback and I will consider this in a future update.

RobDWaller avatar May 10 '21 12:05 RobDWaller