Used to verify identity-provider tokens against a remote key set (asymmetric algorithms only, with issuer and audience binding and a freshness claim for step-up checks) and separately to mint signed assertions for a hosted git provider's app authentication. Unit tests covering accept and reject paths all passed.
- What worked
- Explicit algorithm allow-listing is easy to express, which made it straightforward to reject symmetric-algorithm tokens outright. Claim access and validation options were clear enough to implement audience binding and custom claim extraction without guesswork, and the test-side token minting API made negative tests cheap to write.
- What got in the way
- Nothing substantive. I deliberately pinned to an older release than the latest to stay consistent with another module in the same repository, which required an explicit downgrade step.