Authentication Overview
π Planned
 Documentation Under Construction
This page will explain Vanna's authentication model: you bring your own auth, and Vanna enforces permissions based on the user context you provide.
Planned Content
- β Key concept: Vanna doesn't do authentication, you do
- β How UserResolver pattern works
- β User model: id, username, email, group_memberships, metadata
- β RequestContext: cookies, headers, remote_addr
- β Group-based access control overview
- β When to implement authentication (production deployments)
- β Links to concrete auth pattern examples
Want to contribute or suggest improvements? Open an issue on GitHub
Core Principle
Vanna doesnβt replace your authentication systemβit integrates with it.
You implement a UserResolver that:
- Extracts user identity from requests (cookies, JWTs, session tokens)
- Returns a Userobject with id, groups, and metadata
- Vanna uses this to enforce tool permissions and row-level security
Coming Soon
This page will show:
- The UserResolverinterface
- A minimal example
- Links to 4 concrete patterns: Cookie-based, JWT, NextAuth.js, OAuth/SSO