go-oauth2/oauth2
OAuth 2.0 server library for the Go programming language. observed · 2026-08-28
Health v2 · maintenance only
44/100
- Activity 37
- Release rhythm 20
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 141
- age_days: 3751
- days_rel: 378
- days_push: 378
- n_releases_24m: 2
Adoption not part of the score
3622 stars · 591 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Go library for building OAuth 2.0 authorization servers that issue and manage access tokens. It supports the standard OAuth 2.0 protocol flows with pluggable token and client storage backends.
Use cases
- implement an oauth2 authorization server in go
- issue access tokens for my api
- add oauth2 provider endpoints to a go web app
- handle authorization code and token requests
- store oauth2 clients and tokens in a custom backend
When to choose
- you need to act as an OAuth 2.0 provider in a Go service
- you want a lightweight, embeddable OAuth2 server library with pluggable storage
- you need standard flows like authorization code and client credentials
When to avoid
- you only need to consume OAuth2 APIs as a client
- you want a full turnkey identity provider with UI (use Keycloak or similar)
- your project is not written in Go
Facets
library · maturity stable
auth authorization http-server middleware security backend web-development apis go cross-platform oauth2-server oauth2-provider access-token token-store authorization-code-flow
4 sources
- readme: https://github.com/go-oauth2/oauth2 · fetched 2026-08-28 · aab86a7f4ba4
- homepage: https://pkg.go.dev/github.com/go-oauth2/oauth2/v4 · fetched 2026-08-29 · 245c4f9a6666
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-oauth2/oauth2 | main | 44 |
For agents
markdown · JSON · MCP: product_card(name="go-oauth2/oauth2")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem