User roles & custom claims
Built-in setting
Zero-config
Define roles (admin, customer, driver, etc.) and assign them to end-users. Roles are available to your app code as claims on the auth session. Configure in Auth β Roles.
Where to enable it
Toggle this feature in your project editor. No code required.
Inside the editor, head to Auth β Roles.
Open in my projectRelated features
Inviting end-users to your app
Send token-based invitations to end-users with a preassigned role. Recipients click the link and complete signup. Configured in Auth β People.
Entitlement model (plans + features)
Entitlement is plan-driven: a subscription grants a set of features. Auth handles WHO the user is; Payments handles WHAT they can access. Do not gate features via auth roles, gate via payments.hasFeature.