{"repo":"josuebrunel/ezauth","free":true,"listed":false,"github":"https://github.com/josuebrunel/ezauth","clone":"git clone https://github.com/josuebrunel/ezauth.git","description":"Simple and easy to use authentication library for Golang","language":"HTML","stars":61,"topics":["authentication","betterauth","easy","go","golang","jwt","jwt-authentication","library","oauth2","simple"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"ezauth Simple and easy to use authentication library for Golang. ezauth can be used as a standalone authentication service or embedded directly into your Go application as a library. Features - Email/Password Authentication (Register, Login) - JWT based sessions (Access & Refresh Tokens, Refresh Token Rotation) - Configurable Password Hashing: bcrypt or Argon2id - Rate Limiting on authentication endpoints - OAuth2 Support (Google, GitHub, Facebook) and custom/OIDC provider registration - Password Reset and Passwordless (Magic Link) authentication - Extended User Profiles (Username, First Name, Last Name, Phone, Avatar, Nickname, Locale, Timezone, Roles, etc.) - SQLite, PostgreSQL, and MySQL support - API Key Protection for endpoints - Built-in Middleware for route protection - Swagger API Documentation Usage As a Standalone Service You can run ezauth as a separate service that handles authentication for your microservices. 1. Configuration : Set environment variables. Custom OAuth2 / OIDC Providers You can register arbitrary custom providers dynamically via environment variables (Standalone-service mode) or in Go code (Library mode) as shown below. Standalone-service mode (via Env Vars) 1. Add your provider's name to EZAUTH OAUTH2 PROVIDERS (comma-separated). 2. Configure prefix variables for each provider ( EZAUTH OAUTH2 ): - CLIENT ID , CLIENT SECRET , REDIRECT URL (required) - SCOPES (optional, comma-separated) - Either ISSUER URL (for automatic OIDC discovery) or manual e","default_branch":null,"files":null,"tree":[],"storefront":"/r/josuebrunel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/josuebrunel/ezauth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}