Authentication Methods
Feature-by-feature guides to every supported sign-in method.
Nest Auth supports nine ways to authenticate users out of the box, plus a BaseAuthProvider for rolling your own.
| Method | Use when |
|---|---|
| Email + password | Classic web app sign-up |
| Phone + password | Phone-first regions / mobile apps |
| Passwordless OTP | No password — code over email or SMS |
| Magic link | One-click email sign-in |
| Google OAuth | Social sign-in |
| Facebook OAuth | Social sign-in |
| Apple OAuth | iOS / App Store requirement |
| GitHub OAuth | Developer-focused apps |
| Custom provider | Any OAuth or SSO not in the list above |
| API keys | Server-to-server / programmatic access |
Every page below follows the same template:
- Server config — what to add to
NestAuthModule.forRoot({ ... }). - Client call — the
AuthClientmethod or HTTP request. - React hook — the matching hook from
@ackplus/nest-auth-react.