Project · Saas Lifebot · ADRs

ADR 0003 — Clerk auth (not Cognito)

type adrstatus activelifebot · auth · clerk

Status

Accepted

Context

Bobs-lifebot uses Cognito + PKCE SPA. SAAS boilerplate ships Clerk with multi-user sign-up, orgs, and middleware already wired.

Decision

Use Clerk for browser auth. Keep boilerplate org onboarding, but never key health data by orgId — always ownerId = userId.

Consequences

  • Faster multi-user onboarding for friends.
  • Subprocessor (Clerk) documented in Privacy.
  • Org “Members” UI de-emphasized for this product.
Compiled from wiki/projects/SAAS-Lifebot/adr/0003-clerk-auth-not-cognito.md · git is the source of truth