Express SDK
Official Express.js middleware for OAuth 2.1, OIDC, and MFA authentication.
Overview
The authsafe-express package provides production-ready middleware and route handlers for implementing authentication in Express.js applications. Built with TypeScript, it offers complete OAuth 2.1 and OpenID Connect support with automatic token management and JWT verification.
Installation
npm install authsafe-expressAvailable APIs
- Setup — Initialize AuthSafe in your Express application
- Handlers — OAuth authentication route handlers
- Middleware — Authentication middleware for protecting routes
- JWT — JWT token validation and management
- Session — Session management and cookie handling