supabase-clerk-sync
Installation
SKILL.md
Supabase-Clerk Sync
Comprehensive integration patterns for syncing Clerk authentication with Supabase databases, including JWT configuration, RLS policies, webhook setup, and user data synchronization.
Instructions
When Integrating Clerk with Supabase
- JWT Configuration Strategy
- Configure Supabase to validate Clerk JWT tokens
- Extract Clerk JWT template from dashboard
- Configure Supabase auth settings with Clerk JWKS endpoint
- Map Clerk user claims to Supabase RLS policies
- Handle JWT expiration and refresh flows