JWT (mini-jwt) implementation

Hello friends. A couple of weeks ago we had to implement a REST API as an IoT project. The requirement was to do it with jwt.
I couldn’t find aniything here and the classic python JWT implementation (pyJWT) is not compatible with jython so i had to implement it by myself.
It’s really simple but maybe somebody find it usefull. It could be imported or copy/pasted into the scripts library.

See you!

1 Like