You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
[+] email_verified = False
[+] firebase = JSON object:
Traceback (most recent call last):
File "/opt/jwt_tool/./jwt_tool.py", line 2103, in<module>
rejigToken(headDict, paylDict, sig)
File "/opt/jwt_tool/./jwt_tool.py", line 1299, in rejigToken
comparestamps, expiredtoken = dissectPayl(paylDict)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/jwt_tool/./jwt_tool.py", line 1203, in dissectPayl
if type(castInput(paylDict[claim][subclaim])) == str:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/jwt_tool/./jwt_tool.py", line 595, in castInput
jsonInput = json.loads(newInput)
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/__init__.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not OrderedDict
I'm using last release 2.2.7.
It seems to be a similar error as in #21 that was fixed in v1.3.5. However, it seems exactly the same issue as in #106
So there is maybe another
json.loads
that should be changed injson.dumps
.While decoding a token:
The data:
The text was updated successfully, but these errors were encountered: