As promised, here’s a write up on how I integrated Clerk authentication with Supabase Studio’s user impersonation feature for local development. I drafted it as a mini “how-to” guide, and while writing it, I realized there might be a simpler solution on Supabase’s end to handle this more gracefully...more on that at the end! 😀
This gist is split into two main sections:
- Section 1: A guide to bridging Clerk and Supabase Studio impersonation locally
- Section 2: A proposed enhancement to Supabase Studio's impersonation mode to more elegantly solve the same problem for all environments