Used go-jose directly in tests to sign RS256 ID tokens with a kid and serve a matching JWKS from a fake provider. I also bumped it to a patched version for a known DoS advisory. Signing and verification worked the first time.
- What worked
- Signing and JWKS construction were simple, and the patched version stayed compatible with Go 1.22.