swiftops-backend / src /app /core /supabase_auth.py

Commit History

fix: Improve Supabase signup error handling and auto-confirm emails
7e93600

kamau1 commited on

CRITICAL PERFORMANCE FIX: Database connection optimization - Increased SQLAlchemy connection pool from 5 to 20 - Added connection recycling (5 min TTL) - Made SupabaseAuth singleton to reuse connections - Changed audit logging from commit() to flush() to batch writes - Added comprehensive performance fix documentation See PERFORMANCE_FIX.md for CRITICAL step: Must update DATABASE_URL to use Supabase connection pooler (port 6543)
54e6861

kamau1 commited on

feat: implement automatic token refresh for Supabase Free tier
3bc697e

kamau1 commited on

revert: undo ClientOptions implementation and return to stable Supabase init for v2.0.3
12702ac

kamau1 commited on

fix: replace dict with ClientOptions in Supabase client init to restore stateless config
9a648e8

kamau1 commited on

fix: disable Supabase auto-refresh for stateless backend and switch logging to ISO 8601 timestamps
5dcb32d

kamau1 commited on

fix(auth): sync User model and auth responses with actual schema
2259bd0

kamau1 commited on

feat(auth): integrate Supabase Auth and remove local password handling
13ca341

kamau1 commited on