express-auth-ts
v1.0.0
Published
Multiple authentication methods for Express (JWT, Session, API Key, OAuth, Basic, Custom Token)
Maintainers
Readme
🔐 express-auth-ts
Modern, flexible, and type-safe authentication middleware for Express.js projects. Easily add JWT, Session, API Key, OAuth, Basic Auth, and Custom Token (Magic Link/OTP) authentication to your Node.js/Express applications.
🚀 What is it?
express-auth-ts is a powerful, modular, and TypeScript-first authentication solution for Node.js/Express projects. It supports all major authentication methods and is ready for both development and production use.
🎯 Key Features
- Plug-and-play support for JWT, Session, API Key, OAuth, Basic Auth, and Custom Token (Magic Link/OTP)
- Simple and customizable middleware functions for each auth method
- Dynamic validation via async callback support (e.g., database checks)
- Helper functions: JWT signing, session management, magic link/OTP generation
- Full TypeScript type safety and autocomplete
- Customizable error messages and behavior
- Real-world usage examples and detailed documentation
📚 Setup & Usage Guides
➡️ For all setup and usage guides, please see the full documentation at: Documentation
🤝 Contributing
- Fork and work on your own branch.
- Test your changes.
- Submit a pull request.
For detailed contribution guidelines, see:
📝 License
This project is licensed under the MIT License. See the full license at: LICENSE
For any suggestions, contributions, or bug reports, please open an issue on GitHub!
