yandex-cloud / python-sdk

Yandex.Cloud Python SDK
MIT License
83 stars 27 forks source link

Fix jwt.decode usage in test_service_account_key #25

Closed l0kix2 closed 2 years ago

l0kix2 commented 2 years ago

It seems that for current version of pyjwt (2.3.0) public_key should be passed in key argument of decode. Also looks like verify=True does nothing and audience check fails so we pass expected value.