Commit Graph
5 Commits
Author SHA1 Message Date
Christian Vidal Wolf f6ef573f3a Auth: Implement automatic session refresh logic to prevent 'JWT expired' errors. The app now handles token renewal in the background, allowing users to save changes without interruption. 2026-04-23 12:37:04 +02:00
Christian Vidal Wolf f125572572 Allow any email to register and fix logout blank page bug 2026-04-09 09:58:01 +02:00
christian.vidalandClaude Sonnet 4.6 b88ca57c95 feat(auth): add sign up flow with email domain validation and password confirm
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 17:54:31 +01:00
christian.vidalandClaude Sonnet 4.6 c1f809dfdb fix(auth): change allowed domain from @craze.de to @craze-group.com
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 17:51:20 +01:00
christian.vidalandClaude Sonnet 4.6 eeb6711b69 feat(auth): add email/password login restricted to @craze.de accounts
- src/lib/auth.ts: signIn/signOut/getStoredSession via Supabase Auth REST API
- src/components/LoginPage.tsx: login form with domain validation UI
- src/components/TopBar.tsx: show logged-in user email + sign out button
- src/App.tsx: gate entire app behind auth — shows LoginPage if no session

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 17:49:10 +01:00