© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
samwoolerton

function auth.jwt() does not exist for local RLS?

After configuring RLS policies locally through Supabase Studio, I generated migrations and now can't run
supabase start
supabase start
because running migrations throws with
function auth.jwt() does not exist
function auth.jwt() does not exist
.
Is there a setting I can change or some step I've missed?

I've opened an issue on GitHub here: https://github.com/supabase/postgres/issues/277
GitHub
`function auth.jwt() does not exist` for local RLS · Issue #277 · s...
Bug report Describe the bug I defined RLS policies locally in the Supabase Studio UI, generated a migration file with npm run db-diff <migration_name>, and migrated in production with...
`function auth.jwt() does not exist` for local RLS · Issue #277 · s...
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

function auth.uid() does not exist
SupabaseSSupabase / help-and-questions
3mo ago
Does auth.jwt() in RLS policies use pgjwt?
SupabaseSSupabase / help-and-questions
5mo ago
Custom Wallet Auth JWT Tokens Not Recognized by RLS Policies
SupabaseSSupabase / help-and-questions
5mo ago
When seeding auth.users in local dev I get `function gen_salt(unknown) does not exist`
SupabaseSSupabase / help-and-questions
4y ago