How HN: Go-dev-auth zero-dependency authentication library for Go
This article introduces 'go-dev-auth', a new zero-dependency authentication library for the Go programming language. It details the library's features, including support for various authentication methods and its current development status.
Why it matters
Open-source security libraries are essential for developers to implement robust authentication without relying on complex, external third-party dependencies.
The CI badge covers the whole matrix on every push: build and tests on the oldest supported and current Go, the race detector, lint, a fuzz pass over the attacker-facing parsers, and the storage conformance suite against real SQLite, PostgreSQL and MySQL servers .
A comprehensive, framework-agnostic authentication library for Go, modeled after better-auth . Email & password, social sign-on, sessions, account linking, two-factor auth, passkeys, magic links, organizations, SSO, admin tooling, API keys and JWT — with zero external dependencies (pure standard library).
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in