VibeLogin Documentation
VibeLogin is an authentication platform with a native Next.js SDK. Use redirect mode (hosted login pages) for the full feature set — email/password, magic links, password reset, email verification, and Google/GitHub login. Or use embedded mode to render a basic email/password form in your own app. Get auth working in minutes.
Redirect vs Embedded
Choose the integration mode that fits your app. Redirect mode is recommended for most apps.
| Feature | Redirect | Embedded |
|---|---|---|
| Email / password login | ✓ | ✓ |
| Magic links | ✓ | — |
| Password reset | ✓ | — |
| Email verification | ✓ | — |
| Google / GitHub OAuth | ✓ | — |
| Hosted login pages | ✓ | — |
| Login form in your app | — | ✓ |
| No password on your domain | ✓ | — |
Prerequisites
- Next.js 14+ with App Router
- Node.js 18+
- A VibeLogin project (create one at app.vibelogin.com)
Explore the docs
Quickstart
Get up and running with VibeLogin in under 5 minutes.
Redirect Mode
Send users to a hosted login page and receive them back authenticated.
Embedded Mode
Render login forms directly inside your app with full control over the UI.
Middleware
Protect routes and manage sessions at the edge with Next.js middleware.
Server Helpers
Access user sessions and tokens in Server Components and Route Handlers.
Client Hooks
React hooks for client-side session state, login, and logout.
Security
How VibeLogin handles passwords, tokens, sessions, and encryption.
OAuth (Google & GitHub)
Enable social login with Google and GitHub in a few lines of config.
REST API Reference
Complete reference for the VibeLogin REST API endpoints.