Skip to content

smhanov/auth

Repository files navigation

auth

Package auth provides a complete, self-hosted user authentication system for Go web applications.

Go Reference

Overview

This library aims to provide "boring" but essential user authentication infrastructure, saving you from rewriting the same login logic for every project. It is designed to be dropped into your existing web application with minimal configuration.

Key Benefits

  • Comprehensive: Handles Email/Password, OAuth (Google, Facebook, Twitter), and Enterprise SAML SSO out of the box.
  • Secure: Includes built-in rate limiting, secure session management, and password hashing standards.
  • Self-Hosted: You own your data. Supports SQLite and PostgreSQL via sqlx.
  • Complete Flows: Includes ready-to-use flows for password resets, email updates, and account creation.

Documentation

For full documentation, tutorials, and API reference, please visit the official Go docs:

https://pkg.go.dev/github.com/smhanov/auth

Installation

go get github.com/smhanov/auth

About

Boring user authentication code for golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages