Supabase client with Secret Key is not compatible with local development #39605
Unanswered
sapphire008
asked this question in
Questions
Replies: 1 comment
|
this should be an issue instead of discussion, can reproduce |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
When developing locally, I created a supabase admin client with the Secret Key from
supabase statusand tried to add some mock users with
supabase.auth.admin.createUser, I got the following error message:However, if I change the to the old Service Role Key (which no longer prints in version 2.51.0), this works just fine.
Minimally reproducible example:
test-supabase-local.zip
index.ts
All reactions