I am using atlassian_jwt_auth. FOllowing is my code snippet.
from atlassian_jwt_auth.contrib.requests import JWTAuth
signer = atlassian_jwt_auth.create_signer_from_file_private_key_repository('', 'C:/python/jwtprivatekeys')
a_jwt = signer.generate_jwt('audience')
public_key_retriever = atlassian_jwt_auth.HTTPSPublicKeyRetriever('https://test.atlassian.net')
verifier = atlassian_jwt_auth.JWTAuthVerifier(public_key_retriever)
verified_claims = verifier.verify_jwt(a_jwt, 'audience')
How to fix this?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG