Skip to main content

Authentication Strategies

node-auth supports multiple authentication strategies that can be combined:

StrategyDescription
LocalEmail/password with bcrypt hashing
OAuth 2.0Google, GitHub, or any custom provider
Magic LinkPasswordless email authentication
TOTP 2FATime-based one-time passwords
SMS OTPPhone number verification codes

All strategies are plug-in — only configure what you need.