{"repo":"densumesh/actix-passport","free":true,"listed":false,"github":"https://github.com/densumesh/actix-passport","clone":"git clone https://github.com/densumesh/actix-passport.git","description":"A comprehensive, flexible authentication framework for actix-web applications in Rust.","language":"Rust","stars":17,"topics":["actix-web","actix-web-middleware","authentication","rust"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Actix Passport A comprehensive, flexible authentication framework for actix-web applications in Rust. Features - Multiple Authentication Methods - Username/password authentication with secure Argon2 hashing - OAuth 2.0 support (Google, GitHub, and custom providers) - Session-based authentication - Flexible Architecture - Pluggable user stores (database-agnostic) - Extensible OAuth provider system - Builder pattern for easy configuration - Type-safe authentication extractors - Developer Friendly - Minimal boilerplate with sensible defaults - Comprehensive documentation and examples - Feature flags for optional functionality - Built-in authentication routes - Security First - CSRF protection for OAuth flows - Secure session management - Configurable CORS policies - Password strength validation Quick Start Add to your Cargo.toml : Basic Setup Production Setup with PostgreSQL Available Endpoints Once configured, your app automatically gets these authentication endpoints: - POST /auth/login - Login with email/password - POST /auth/register - Register new user - POST /auth/logout - Logout current user - GET /auth/me - Get current user info - GET /auth/{provider} - OAuth login (e.g., /auth/google ) - GET /auth/{provider}/callback - OAuth callback Custom User Store Implement the UserStore trait for your database: Custom OAuth Provider Examples See the examples/ directory for complete working examples: - basic example/ - Basic password authentication - oauth example/ - OAuth with Goog","default_branch":null,"files":null,"tree":[],"storefront":"/r/densumesh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/densumesh/actix-passport/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."}