This repository was archived by the owner on Jan 8, 2026. It is now read-only.
Authrix v2.0.0
Bug Fixes
- Enhanced validation for email and username uniqueness.
- Standardized normalization across authentication adapter
New Features
- PostgreSQL Support: Added comprehensive PostgreSQL adapter with support for 2FA, user profile fields, and credential validation.
- 2FA & Email Verification: Full two-factor authentication and verification flows implemented, compatible with Gmail, Resend, SendGrid, SMTP, and CLI-based mailing.
- SSO (Single Sign-On): Integrated Google and GitHub OAuth with Express and Next.js middleware helpers.
- Forgot Password: Implemented secure password recovery via code-based and temporary password strategies.
- Extended User Schema: Optional support for username, first name, and last name fields.
Documentation
- Major documentation overhaul: added in-depth guides for 2FA, SSO, PostgreSQL adapter, and Express/Next.js integration.
- Expanded the README to serve as a full manual.
Refactor
- Deprecated and removed Firebase and Supabase adapter support, along with associated tests and dependencies.
- Reorganized export structure and utility functions for SSO, password recovery, and Next.js usage.
Chores
- Updated TypeScript configuration for better module isolation and performance.
- Synchronized peer dependencies with updated provider implementations.
What's Changed
Full Changelog: prod...factor-auth