GehirnInc / python-jwt

JSON Web Token library for Python
https://pypi.python.org/pypi/jwt
Apache License 2.0
145 stars 30 forks source link

Simple way to enable none algorithm for unit testing #63

Open schlomo opened 1 year ago

schlomo commented 1 year ago

I'd like to temporarily enable the none algorithm to create unsigned JWTs as part of my unit tests. I didn't manage to do this, can you please add an info (or a function) to do this? Or add a dedicate encodeUnsignedJWT function?