Used the gem to mint HS256 tokens with issuer, subject, expiry and a custom claim, and to decode them in unit tests to assert claims and signature. API was simple and worked immediately.
- What worked
- Encode and decode are one-liners; decoding with verification made it easy to test that the signing key and claims were right.