1.67K
total weekly downloads
8 packages
create-kontrolia-auth
Turnkey installer for KontrolIA Auth. `npx create-kontrolia-auth mi-app` checks requirements, downloads the repo, installs deps, and runs a wizard: (1) connect to an existing Supabase project or create a new self-hosted one via Docker; (2) where to deploy
@kontrolia/auth
Official framework-agnostic KontrolIA Auth SDK. The only supported way to integrate an application — no app should ever import supabase-js, handle OAuth redirects, or parse a JWT directly.
@kontrolia/db
KontrolIA Auth database layer: SQL migrations for the `kontrolia` schema (organizations, RBAC, Custom Access Token Hook) and a connection-string-agnostic migration runner.
@kontrolia/next
Next.js integration for KontrolIA Auth: reusable route-protection middleware with automatic session refresh, and verifyRequest() for API routes acting as a resource server.
@kontrolia/permissions
Framework-agnostic RBAC evaluation engine (hasPermission/hasRole with hierarchical wildcard matching), shared by the SDKs, auth-server and admin-panel.
@kontrolia/react
React bindings for KontrolIA Auth: <AuthProvider>, <AuthGuard>, <GuestGuard>, <RequireRole>, <RequirePermission> and useAuth().
@kontrolia/shared
Shared TypeScript types and utilities used across every KontrolIA Auth package and app.
@kontrolia/ui
Shared UI components (shadcn/ui + Tailwind): login/forgot/reset password forms, org switcher, user menu, 401/403/session-expired screens.