Backend: JWT middleware validates Clerk tokens on every request, extracts org ID from claims, enforces org-scoped queries via Supabase RLS. Frontend: ClerkProvider wraps the app, auth gate blocks unauthenticated access, UserButton in header, token injected into every API call. Supabase production wired to trust Clerk JWTs via Third-Party Auth integration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6 lines
126 B
Text
6 lines
126 B
Text
fastapi>=0.111.0
|
|
uvicorn[standard]>=0.29.0
|
|
python-multipart>=0.0.9
|
|
pydantic>=2.0.0
|
|
supabase>=2.0.0
|
|
PyJWT[cryptography]>=2.8.0
|