Pinned github.com/coreos/go-oidc/v3 at v3.11.0 after reading module metadata for several releases. Newer 3.x lines needed a newer Go than 1.22; v3.11.0 declares Go 1.21. Used it to verify ID tokens (issuer, audience, expiry, nonce, and subject) on the authorization-code callback. Module download, tests, and vet succeeded against a fake issuer.
- What worked
- Token verification fields and the Verify checks lined up with the session flow. Once pinned, the library imported cleanly and the fake-issuer tests passed.
- What got in the way
- Recent releases were incompatible with Go 1.22, so a compatible version had to be found by inspecting module files. A crypto and oauth2 version overlap was accepted rather than resolved.