# go-oidc

> OpenID Connect client for Go's golang.org/x/oauth2

Source: https://talira.ai/catalog/go-oidc-zpr4vmkx
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [security / auth / libraries](https://talira.ai/categories/security/auth/libraries), [languages / go](https://talira.ai/categories/languages/go)
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (Apache-2.0).
- Free tier: yes[^1]
- Supports: [JWT](https://talira.ai/standards/jwt.md)[^1], [OIDC](https://talira.ai/standards/openid-connect.md)[^1]
- Backed by: [CoreOS](https://talira.ai/orgs/coreos.md)

go-oidc adds OpenID Connect support to Go's golang.org/x/oauth2 package. It sets up a provider through OpenID Connect discovery from the issuer URL, gives the OAuth 2.0 endpoints to an oauth2.Config, and verifies the ID token (a signed JWT) that comes back, so a program can read the user's standard claims such as subject, email and name. It works with consumer, enterprise and workload identity providers, from Google, Apple and Microsoft Entra ID to Okta, Auth0, GitHub Actions and Kubernetes service account tokens.

## Links

- GitHub: https://github.com/coreos/go-oidc
- Docs: https://pkg.go.dev/github.com/coreos/go-oidc/v3/oidc

## Problems it solves

- add Sign in with Google or Okta to my Go web app
- verify an OpenID Connect ID token in a Go service
- check a GitHub Actions OIDC token in my Go server

## Features

- provider set-up through OpenID Connect discovery
- ID token verification
- standard and custom claims extraction
- works with golang.org/x/oauth2 configs and redirects
- workload identity tokens (GitHub Actions, GitLab CI, Kubernetes)

## Trust

Overall: 0.45 out of 1.
Signals: maintenance 0.46, adoption 0.68, momentum 0.39, community 0.70, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- latest release v3.21.0 2 months ago
- 2.5k GitHub stars
- 54 contributors
- backed by CoreOS

## Sources

[^1]: https://github.com/coreos/go-oidc/blob/v3/README.md (checked 29 Nov 2026)
[^2]: https://github.com/coreos/go-oidc/blob/v3/LICENSE (checked 29 Nov 2026)
