auth

Auto-generated from project docs

North Star

Booklet Status

BookletStatusBranchNotes
B1: Resend SMTP + AutheliaNEARLY COMPLETEbooklet/auth-b1Authelia live server-wide, SMTP still TODO
B2: Product Auth (GoTrue)PLANNEDLogin pages, magic links, first product
B3: Multi-Tenant + White-LabelPLANNEDOrg model, RLS, client-branded login
IDTypeDeliverablePriority
---------------------------------
B1-D1infraResend SMTP configured in SupabaseP0
B1-D2infraAuthelia deployed (Docker, 127.0.0.1:9091)P0
B1-D3infraauth.hitcreate.io login portal liveP0

Recent Decisions

DateDecisionRationale
---------------------------
2026-03-30Project kickstartedAuth is cross-cutting infra that blocks all products needing user login
2026-03-30Authelia for infra authRESEARCH-111: 5 options evaluated. Lowest effort, lowest RAM, purpose-built.
2026-03-30GoTrue for product authRESEARCH-114: Already running, $0, multi-tenant capable, mobile-friendly
2026-03-30Resend for emailFree tier sufficient (100/day). Mister already has account from Lovable.
2026-03-30Rejected: caddy-security10 CVEs in 2024, requires custom Caddy build
2026-03-30Rejected: Authentik~860MB RAM — would destabilize server
2026-03-30Rejected: custom middleware17-33 hours to build a worse Authelia
2026-04-04Health check fixedRESEARCH-156: authelia config validate replaces nonexistent healthcheck command
2026-04-04Server-wide migration complete63 subdomains migrated from basic_auth to Authelia forward_auth

Source: /root/projects/auth/