JSON Web Token (JWT) generation with Atlassian query-string-hash claim support. Wraps PyJWT and adds the 'qsh' claim needed for Atlassian Connect add-ons. Current version 3.0.0, release cadence is irregular.
pip install atlassian-jwtNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Encode a JWT with an Atlassian query-string-hash (qsh) claim for a GET request.
Regenerate the token for each request, or compute qsh manually using compute_qsh and pass it to encode.
Use the new API: call create_jwt(issuer, secret) or encode(payload, secret). Check the migration guide.
Replace encode_jwt with create_jwt(issuer, secret) or encode(payload, secret).
Upgrade to atlassian-jwt >= 3.0.0: pip install --upgrade atlassian-jwt
Use 'from atlassian_jwt import create_jwt' instead of 'import jwt'.
Ensure the issuer matches the add-on key registered in Atlassian Connect.