Container view — Architecture Overview
architecture-overview · hero
Component view — Auth & Persistence
architecture-overview › auth-persistence-view
Component view — Control Plane Authorization
architecture-overview › control-plane-view
Serving runtime authentication capabilities
capabilities-flow
Checking admin permission in control plane
admin-permission-check
AuthConfig → AuthCapabilities
UserPermissionCheck → PermissionCheckResult
apps/web/server/api/capabilities.get.ts apps/web/server/utils/auth-policy.ts
apps/web/server/auth.config.ts
packages/api/src/orpc/auth.ts
packages/auth/src/access.ts packages/auth/src/auth.ts packages/auth/src/config.ts
packages/database/src/schema/api-key.ts packages/database/src/schema/index.ts packages/database/src/schema/passkey.ts and 3 more
packages/api/src/orpc/router.ts
apps/web/app/pages/(organizations)/organizations/accept-invitation/[id].vue
apps/web/server/api/capabilities.get.ts apps/web/server/utils/auth-policy.ts
apps/web/server/auth.config.ts
packages/auth/src/access.ts packages/auth/src/auth.ts packages/auth/src/config.ts
packages/database/src/schema/api-key.ts packages/database/src/schema/index.ts packages/database/src/schema/passkey.ts and 3 more
apps/web/app/pages/(organizations)/organizations/accept-invitation/[id].vue
apps/web/server/api/capabilities.get.ts apps/web/server/utils/auth-policy.ts
apps/web/server/auth.config.ts
packages/api/src/orpc/auth.ts
packages/api/src/orpc/router.ts
apps/web/app/pages/(organizations)/organizations/accept-invitation/[id].vue
apps/web/server/api/capabilities.get.ts apps/web/server/utils/auth-policy.ts
packages/auth/src/access.ts packages/auth/src/auth.ts packages/auth/src/config.ts
apps/web/server/auth.config.ts
packages/api/src/orpc/auth.ts
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
/
What could this change break?
What should I review most carefully?
Drag to select a region · Space to pan · Drop a screenshot
↵
feat(auth): add passkeys, 2FA and org API keys on Better Auth 1.7
wolfstar-project/code-zero #72
· 5 diagrams
Start the walkthrough
W
Fit the whole strip
1
Copy share link
Switch to light
Loading comments
Loading screenshots
How to move around
Ask about this canvas
/
Star
100%
Container view — Architecture Overview
Architecture
Component view — Auth & Persistence
Architecture
Component view — Control Plane Authorization
Architecture
Serving runtime authentication capabilities
Data flow
Checking admin permission in control plane
Data flow
Resume walkthrough
↵
This diagram has a walkthrough
scroll to move through it
swipe to move through it
feat(auth): add passkeys, 2FA and org API keys on Better Auth 1.7