DeveloperAuthentication Documentation
Identity Domain
Developer documentation for the identity domain: authentication, users, tenants, facilities, practitioners, permissions and feature flags.
This file previously held a completed Flipper implementation plan. Flipper has been removed (#1409); that plan is archived at
docs/pending/flipper-backend-completion-plan.md.
Start here
| Topic | Doc |
|---|---|
| Feature flags — catalog, overrides, creating and toggling | feature-flags.md |
| Authentication system overview | authentication-system.md |
| Two-factor flow | 2fa-working-flow.md |
| Access control and user management | access-control-user-management.md |
| Permissions API | permission-management-api.md |
| Routing architecture | routing-architecture.md |
| Users management | users-management.md |
| Patient self-service signup | patient-self-service-signup.md |
| Notifications | notifications.md |
Subdirectories
| Directory | Covers |
|---|---|
account/ | Account settings and profile |
facilities/ | Facility setup and configuration |
identity/ | Auth architecture and login/logout implementation (see its index.md) |
notifications/ | Notification channels, templates, dev outbox |
service_packages/ | Service package configuration |
system/ | Platform-level system concerns |
tenants/ | Tenant model and hierarchy |
04-features/ | Historical feature-migration analyses |