Skip to content

Security Model

AuthHero's security model follows the same patterns as Auth0, built on RBAC (Role-Based Access Control) with resource servers, scopes, roles, and permissions.

Overview

The security model has three main aspects:

Quick Reference

ConceptPurpose
Resource ServerRepresents an API. Defines available scopes.
ScopeA permission string like read:users
RoleA named group of permissions
PermissionA scope assigned to a user (directly or via role)
OrganizationGroups users with their own roles and permissions
RBACWhen enabled, only granted scopes are included in tokens

For a conceptual overview of each entity, see the Entities section.

Released under the MIT License.