Without using signature, to find the payload:
jws = header . payload . signature(header.payload.secret)
The important point here is that you (not JWT) are
violating the specification by manipulating the JWS, and you're doing it
in a calculated way based on your specific use case. This is fine for
individual use cases, but...
Build Your Own Test Framework
-
[image: Build Your Own Test Framework]
Learn to write better automated tests that will dramatically increase your
productivity and have fun while doing so...
48 minutes ago