© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
S
Supabase
•
5mo ago
•
13 replies
Thọ
Cannot create new branch due to modified auth.jwt() — need help resetting to default
Hi everyone
,
I
’m running into an issue with my Supabase project
:
In the past
, when the auth schema was still editable
, I updated the auth
.jwt
(
) function for development purposes
.
Now
, Supabase has locked down the auth schema
(owned by supabase
_auth
_admin
)
.
Because of my past migration
, whenever I try to create a new branch in Supabase Studio
, the process fails
. It errors out on auth
.jwt
(
) with
:
permission denied for schema auth
This means I can
’t spin up a new branch to continue feature development
.
What I need help with
:
How can I reset the auth
.jwt
(
) function back to the default implementation that Supabase ships with
?
Or is there a way to skip
/repair that old migration so branch creation works again
?
If anyone has faced this before or knows how the Supabase team can restore the default auth schema functions
, please let me know
Thanks in advance
!
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Cannot create new users — auth.users.id default missing and cannot be altered
S
Supabase / help-and-questions
4mo ago
Failing to create branch
S
Supabase / help-and-questions
5mo ago
New JWT Keys, still requesting Auth server
S
Supabase / help-and-questions
3mo ago
New Account - Cannot create a new organization
S
Supabase / help-and-questions
14mo ago