feat: guest demo access via Supabase anonymous sign-in (read-only)

↗ view on GitHub · nipanon · 2026-06-05 · 6a94f556

Add a "View demo - no account needed" button on the sign-in screen that
starts a Supabase anonymous session and routes the visitor to /assistant.
Guests are read-only: requireAuth rejects writes (POST/PUT/PATCH/DELETE)
for anonymous users, and a banner surfaces the read-only state with a
sign-up CTA.

Requires "Anonymous sign-ins" enabled on the Supabase project.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Repository Lina-Law-Firm/mikeoss
Author nipanon <franck@wequity.app>
Authored
Parents 4a4371a1
Stats 5 files changed , +87
Part of Guest demo access via Supabase anonymous sign-in (read-only)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-6a94f556.md from inside the repo you want the change in.

⬇ Download capture-commit-6a94f556.md