Define account creation approach
TaskCompleted
Decide how new users create accounts - magic link only, email/password, social auth options, or invite-only.
This affects the signup UI and auth configuration. Consider the early-adopter ICP (early-stage startups using AI coding tools like Claude Code, Cursor).
Decided Approach
GitHub OAuth + Magic Link + Toggleable Invite Gate
Auth methods:
- Primary: GitHub OAuth (single-click for developers)
- Fallback: Magic link (for users without GitHub)
- No password auth
Invite gate:
- Controlled by
REQUIRE_INVITE_CODEenv var - When
true: Signup requires valid invite code - When
false: Open signups
Implementation:
- Enable GitHub OAuth in Supabase dashboard
- Add "Continue with GitHub" button (primary)
- Keep magic link as secondary
- Remove password auth
- Create
invitestable - Add invite validation endpoint
- Conditional signup UI based on env var
Decision: 1f550e4