Ensure that the Python library version matches the RPM packaging
1.6.1
RPM and Python packages only require PyJWT >= 1.6.1
1.6.0
What's Changed * Ensure compatibility with older versions of PyJWT by jasoncpatton in https://github.com/scitokens/scitokens/pull/121 * Adding multiple aud in token support by djw8605 in https://github.com/scitokens/scitokens/pull/122
New Contributors * jasoncpatton made their first contribution in https://github.com/scitokens/scitokens/pull/121
What's Changed * Include tests in distribution by duncanmmacleod in https://github.com/scitokens/scitokens/pull/107 * Bump pyjwt version by djw8605 in https://github.com/scitokens/scitokens/pull/109 * Add test run with minimum dependencies by duncanmmacleod in https://github.com/scitokens/scitokens/pull/108 * Run continuous integration on macOS and windows by duncanmmacleod in https://github.com/scitokens/scitokens/pull/112 * Check verified claims for issuer in SciToken.serialize by duncanmmacleod in https://github.com/scitokens/scitokens/pull/113 * Add base SciTokensException class by duncanmmacleod in https://github.com/scitokens/scitokens/pull/111 * Remove verify=False keyword from calls to decode() by duncanmmacleod in https://github.com/scitokens/scitokens/pull/117 * Print package list in CI jobs by duncanmmacleod in https://github.com/scitokens/scitokens/pull/118 * Use python3_pkgversion macro in RPM package names by duncanmmacleod in https://github.com/scitokens/scitokens/pull/116 * Move package version declaration into 'scitokens' module by duncanmmacleod in https://github.com/scitokens/scitokens/pull/114 * Fix deprecation warning from cryptography.utils.int_from_bytes by duncanmmacleod in https://github.com/scitokens/scitokens/pull/119
This release adds the [WLCG Token Discovery](https://doi.org/10.5281/zenodo.3937438) as a static function. You can get a token with the code:
from scitokens import SciToken token = SciToken.discover(audience="example.com")
1.2.3
Add support for scitokens claim language 2.0. Largest change is that extra attributes are optional, and some attributes are mandatory. Full specification is on the SciTokens website: https://scitokens.org/technical_docs/Claims