Skip to content

ezauth

ezauth is a simple and easy-to-use authentication library and service for Golang. It provides a robust set of features to handle user registration, login, session management, and more.

Features

  • Email/Password Authentication: Secure user registration and login.
  • JWT-based Sessions: Access and Refresh tokens with rotation for enhanced security.
  • OAuth2 Support: Built-in support for Google, GitHub, and Facebook.
  • Password Reset & Passwordless: Magic link and password reset flows.
  • Extended User Profiles: Store additional user information like name, locale, timezone, and roles.
  • Multi-Database Support: Support for SQLite and PostgreSQL.
  • Flexible Integration: Use it as a standalone service or embed it as a library.

Getting Started

ezauth can be used in two primary ways:

  1. Standalone Service: Run ezauth as an independent authentication service.
  2. Library: Embed ezauth directly into your Go application.

Documentation Sections