markbates/goth
Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications. observed · 2026-08-28
Health v2 · maintenance only
57/100
- Activity 67
- Release rhythm 19
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 136
- age_days: 4341
- days_rel: 380
- days_push: 203
- n_releases_24m: 2
Adoption not part of the score
6597 stars · 630 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Goth is a Go library providing a simple, idiomatic way to add multi-provider authentication to web applications via OAuth, OAuth2, and OpenID Connect. It supports 60+ identity providers (Google, GitHub, Facebook, etc.) through a common Provider and Session interface, inspired by Ruby's OmniAuth.
Use cases
- add social login to a Go web app
- authenticate users with Google or GitHub OAuth in Go
- support multiple OAuth providers with one library
- implement OpenID Connect authentication in Go
- build sign-in-with-X flows for a Go backend
- unify OAuth2 provider sessions in a Go application
When to choose
- you need OAuth/OAuth2/OpenID Connect login in a Go web application
- you want to support many identity providers through a single consistent interface
- you want an OmniAuth-like experience in Go
When to avoid
- you need full-featured user management, registration, or MFA rather than just authentication
- you need a non-Go solution or a hosted identity platform's native SDK
- you only need simple username/password auth with no third-party providers
Facets
library · maturity active
auth middleware http-server web-development backend security developer-tools go cross-platform oauth oauth2 multi-provider-auth openid-connect social-login omniauth-inspired session-management web-server
1 source
- readme: https://github.com/markbates/goth · fetched 2026-08-28 · 63d1f9a399ca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| markbates/goth | main | 57 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem