← context-v

ai-labs Draft v 0.0.0.3 explorations/Shared-Auth-for-Applied-AI-Labs.md

Shared Auth for Applied AI Labs

We're about to need a real auth story across three sibling apps in ai-labs — memopop-ai, dididecks-ai, and the just-arriving augment-it. None of them is at the scale that justifies Auth0/Clerk pricing or robustness. We want a small, owned auth system that handles OAuth (GitHub + Google Workspace), pre-shared invites delivered by WhatsApp or 1Password, organization-scoped permissions, and a viewer-tier for memos and decks published on client subdomains — with a roll-up seam stubbed from day one so we can wire cross-app dashboards later without rewriting clients.

  • Auth
  • Multi-Tenant
  • Org-Model
  • OAuth
  • GitHub
  • Google-Workspace
  • Magic-Link
  • WhatsApp-Invite
  • Lossless-ID
  • Roll-Up
  • Cross-App
  • Tauri
  • Astro
  • SvelteKit
  • libSQL
  • Turso