README
Authentication that lives inside your Python app. Composable, plugin-based, database-backed, and built for SaaS teams that need sessions, organizations, API keys, admin controls, and a real demo.
uv add kernia kernia-cli kernia-fastapi kernia-sqlalchemyBuilt With
FFastAPI
SStarlette
DDjango
SSQLAlchemy
RRedis
MMongo
SStripe
SSSO
SSCIM
PPasskeys
AAPI keys
VVite
FFastAPI
SStarlette
DDjango
SSQLAlchemy
RRedis
MMongo
SStripe
SSSO
SSCIM
PPasskeys
AAPI keys
VVite
Features
01
Works with your Python stack.
FastAPI, Starlette, Django, and browser clients.
FastAPIStarletteDjango+JS
02
Credential auth included.
Sessions, verification, reset flows, and account linking.
@founder@kernia.dev
#••••••••
03
OAuth providers.
Google, GitHub, Apple, Discord, Slack, and custom OAuth.
G
G
A
D
04
Multi-tenant SaaS.
Teams, roles, invitations, members, and active org context.
ABCD
05
Runtime configuration.
Login methods, email clients, provider status, and admin policy.
email
oauth
passkey
06
Auth surface area.
API keys, passkeys, SSO, SCIM, MFA, JWT, bearer, SIWE, and more.
route -> schema -> tests
07
Agent authorization.
MCP tokens and OAuth-style agent authorization routes.
route -> schema -> tests
08
SaaS revenue flows.
Checkout, portal, webhooks, catalog sync, entitlements, and usage.
check() -> allow
09
Reference SaaS app.
Login, settings, sessions, accounts, API keys, admin, and usage.
route -> schema -> tests