Open przlada opened 2 years ago
Thanks, please tell me, what was broken here, I can't seem to make sense of it.
@pkucmus this line wasn't working for me:
jwt_payload = jwt.decode(saleor_token, verify=False)
it should be
jwt_payload = jwt.JWT().decode(token, do_verify=False)
from what I found
That's not good. I wonder if we have fallen into the https://pyjwt.readthedocs.io/en/latest/ vs https://pypi.org/project/jwt/ trap here, I need to look deeper.
I want to merge this change because it fixes
require_permission
dependency.