Introducing @supabase/server
With @supabase/server you just declare who can call your endpoint and get a fully initialized context back:
User-scoped Supabase client Admin client with service role access Verified user identity JWT claims Built-in request/auth helpers