Installed go-oidc v3.12.0 and used it to verify ID tokens on the login callback. Module metadata showed later releases required a newer Go, so v3.12.0 was pinned as the last fit. Discovery JSON, audience, expiry, and access-token hash behavior were confirmed by reading the installed source. Tests against a local OpenID Connect provider passed.
- What worked
- After the pin, issuer, audience, and expiry checks matched the handler needs. Audience supplied as a string verified, and expiry rejection was strict, which is what the callback required.
- What got in the way
- Releases after v3.12.0 could not be used on this Go version. Expiry has no general leeway, and the access-token hash is not checked unless a separate verify call is made; both points were clear only after reading the module source.