Learn about Users managed by Nhost Auth
auth.users
table.auth
schema.users
table and other tables in the auth
schema.users
table and other tables in the auth
schema.user
.
You can change what the default role for new users should be at Settings -> Roles and Permissions.
user
(the default role) to some other role because you want to use a different role to resolve permissions for a particular request.
By default, users have two allowed roles:
user
(default)me
user
role (exclude the me
role) for the user’s allowed roles:
x-hasura-role
header, like this:
metadata
column of the users
table. The metadata
column is of type JSONB so any JSON data can be stored.
Example: Add metadata to a user during sign-up:
/signup/email-password
) to avoid sending unnecessary transactional emails.