Read the v3 authentication package docs and searched for an OpenID Connect middleware example. Release v3.29.4 requires Go 1.25, and raising this module from Go 1.22 would have broken CI, so the SDK was not imported. The documented sample uses PKCE without a client secret, which suits a public client rather than the confidential web application this service needed.
- What worked
- The package page made the Go version requirement and the authentication API easy to find, which was enough to decide the SDK could not be adopted here.
- What got in the way
- The current SDK could not be installed on Go 1.22. The published example did not show a confidential client with a client secret.
