All new users become “admin” #40360
Atinmakanvi
started this conversation in
General
Replies: 1 comment
-
|
You would be the one setting that in your code. Supabase does not have a role key in app_metadata. |
Beta Was this translation helpful? Give feedback.
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.
-
Hello,
I'm building a web application (hosted with Hostinger Horizon) that uses Supabase Auth and Postgres.
The problem is that every new registered user gets
app_metadata.role = "admin"(or is treated as such via JWT), whereas I want only one account (or a whitelist of emails) to have admin privileges, and all others to have user privileges.Beta Was this translation helpful? Give feedback.
All reactions