Supabase + Clerk integration, automation of adding domain for preview branches
auth
Hi
I’m using Next.js hosted on Vercel, with Supabase + Clerk integration.
For every preview deployment, a new Supabase preview DB branch is created. The issue is that for each preview branch, I have to manually add the Clerk domain in Supabase Auth → Third-party Auth settings.
This becomes tedious since preview deployments happen frequently.
Is there a way to automate this?
Would appreciate any guidance on best practices here
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.