Used jose to verify signed access JWTs against a remote JWKS, checking issuer and audience, and to sign test tokens with a local key. Missing, forged, expired and wrong-audience tokens were all rejected as the tests expected.
- What worked
- Remote JWKS lookup and verification took only a few lines, and checking issuer and audience was easy. Signing tokens with a local key for tests worked without trouble.