Drop-in authentication for any app. Multi-tenant, TypeScript-first, with OAuth, webhooks, and session management built in.
// Protect all routes in one line import { authkitMiddleware } from "@paribeshn/authkit/nextjs" export default authkitMiddleware({ secretKey: process.env.AUTH_SECRET_KEY, signInUrl: "/sign-in", }) export const config = { matcher: ["/((?!_next).*)" ] }
No vendor lock-in. No per-MAU pricing. Just your server.
Secure sign-up, sign-in, and password reset with bcrypt hashing and JWT sessions.
Social login configured from the dashboard. No redirect logic to write.
HMAC-SHA256 events fired on every user lifecycle action. Verify in one call.
React hooks, pre-built UI, Next.js middleware, and a server SDK. ESM + CJS.
One service, unlimited apps. Each gets isolated keys, users, and configuration.
List sessions per device, revoke one or sign out everywhere.
Install
npm install @paribeshn/authkitEntrypoints
authkit/reactauthkit/nextjsauthkit/serverThree steps from zero to production auth.
Register on the dashboard and create an application. Get your publishable and secret keys instantly.
Wrap your app in AuthProvider, add authkitMiddleware to protect routes, use useAuth() for state.
Your users sign up, sign in, reset passwords, manage sessions — you manage them from the dashboard.