There is currently an issue with the python-jose package as described here.
Potential fix is to replace with PyJWT.