Saka is a project boilerplate with authentication and authorization built in: clone it, and the hardest part of a new product — accounts, sign-in, sessions, permissions — already works. Your product's code grows around a battle- tested core instead of rebuilding user management from scratch.
Authentication ships in both directions:
- Saka as the IdP — other applications sign their users in with Saka accounts over OpenID Connect. Deploy Saka standalone and it is just an identity provider; keep building your product on it and the same provider serves your app's own users.
- Saka as the SSO client — users sign in to Saka itself with Google, GitHub, or any OpenID Connect provider you connect.
- Product guide — everything built in, one walk: every way to sign in, accounts and groups, application-facing surfaces, storage, notifications, audit, and the rest.
- Deployment — running Saka yourself.
- Contributing — joining the project.
| Topic | Page | What it covers |
|---|---|---|
| The whole product | Product guide | All sign-in methods, the second factor, sessions, users, the platform surfaces |
| The built-in authentication, closely | Authentication | Each method's rules, MFA and recovery codes, step-up, sessions and impersonation, lockouts and bans |
| Signing other apps in with Saka | OpenID provider | What connected applications can do, sign-out, getting connected |
| Which standards Saka speaks | OIDC profiles | The conformance profiles in plain language — kept, optional, dropped, and why |
| Files | Storage | Buckets, resumable uploads, signed links, profile pictures |
| Outbound events | Webhooks | Subscribing destinations, signed deliveries, retries and guards |
| In-product messages | Notifications | Audiences, read receipts, the live stream |
| Building and operating | Debug & operator utilities | The debug devtools, the operator commands, the verification harnesses |
| Managing people | Users, groups, roles | The administrative surface: accounts, bans and locks, groups, grants, sign-up modes, blocklist |
| Machine credentials | API keys | Creating, renewing, revoking; what a key may do and which credential fits which caller |
| Provisioning to directories | SCIM | Per-client provisioning targets, when passes run, extra token claims |
| The deployment's knobs | Configuration | The config file's precedence, secrets, the settings catalog |
| The signals | Observability | Health vs readiness, logs, traces and metrics, the operations console |
| Standing on others' work | Acknowledgements | The projects Saka adapted — Pocket ID, Clerk, Backlite, tus/tusd, and the building blocks |
| The machine-facing contract | API endpoints, API responses | Every procedure and route, and the one contract both transports share |