Ā© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3d ago
krawler_tech

Supabase with Clerk

RLS🤷otherauth
Hi everyone! šŸ‘‹ This is my first post here, so please bear with me — and thanks in advance for any help!

I'm building a React app using Clerk for authentication and Supabase as my backend, with Clerk integrated as a third-party auth provider.

I understand how to use Supabase RLS policies to allow authenticated users to create, update, and delete their own records. However, I also have a separate group of users who need to moderate content created by others (for example: approve, edit, or delete posts).

What is the recommended way to handle authorization for these moderator users with Supabase RLS when using Clerk? Should this be done via custom claims, role tables, JWT metadata, or another approach?

For reference, this is the video I followed for the Clerk + Supabase integration:
šŸ‘‰ How Clerk integrates with Supabase: https://youtu.be/hcw38fUPNbw?si=37B8ErSeMueWhHdd
YouTubeClerk
How Clerk integrates with Supabase
In this technical deep dive, we'll explore how to integrate Clerk with Superbase, a scalable and secure database platform. You'll learn how to use Row Level Security (RLS) to ensure that only authorized users can access specific records in your database. We'll also cover the process of setting up the integration, including creating tables, confi...
How Clerk integrates with Supabase
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Clerk integration with supabase storage
SupabaseSSupabase / help-and-questions
2mo ago
Clerk Auth with Supabase Edge
SupabaseSSupabase / help-and-questions
5mo ago
Supabase SSR client with Clerk
SupabaseSSupabase / help-and-questions
7mo ago
Python Backend: Supabase + Clerk
SupabaseSSupabase / help-and-questions
4w ago