Skip to content

v1.0.0

Latest

Choose a tag to compare

@smhanov smhanov released this 13 Nov 14:39
· 3 commits to master since this release

First semver release of github.com/smhanov/auth. The package has been in active use across smhanov and ArchieOS projects since 2019; this is the first versioned (tagged) release.

Capabilities

  • Email/password authentication with secure session management and password hashing
  • OAuth 2.0 login (Google, Facebook, Twitter, Apple web + native), plus a pluggable OAuthProvider interface
  • Enterprise SAML SSO
  • Built-in rate limiting
  • Pluggable storage via sqlx (SQLite / PostgreSQL)
  • Ready-to-use password-reset, email-update, and account-creation flows

Fixed

  • Hardened SAML assertion handling — malformed client input now returns stable 400/401 responses instead of panicking or leaking library errors (325b2e1)

Notes

  • Requires Go 1.26.0 or later
  • MIT licensed

Install:

go get github.com/smhanov/auth@v1.0.0