Roles, permissions, and access control for your apps and APIs.

Global and organization-level RBAC, app-level access rules, and custom token claims. For users and machine-to-machine apps.

API resources & scopes

Separate permissions for each API.

  • Each API has its own resource identifier and permissions
  • Access tokens issued for a specific API, with permissions carried as scopes
  • Configurable access token lifetime for each API

Role-based access control (RBAC)

Roles for users and backend services.

  • Global roles that combine permissions from multiple APIs
  • Separate roles for users and machine-to-machine apps
  • Default roles for new users at sign-up or creation
  • Role assignments through the Console or Management API

Organization roles & permissions

Assign different organization roles from one shared template.

  • A shared template of roles and permissions across all organizations
  • Different roles for the same user in different organizations
  • Organization permissions for in-app features, such as inviting members
  • API permissions scoped to a specific organization
  • Organization roles for both users and machine-to-machine apps

App-level access control

Separate access rules for each app.

  • Access rules based on users, global roles, organizations, or roles within a specific organization
  • An access denied page for users who don't meet the app's rules
  • Access rules checked again when tokens are refreshed

Custom token claims

Your business data alongside built-in permissions.

  • Custom claims from user profiles and organization data, such as an internal user ID or a customer's plan
  • Enterprise SSO identity data, such as directory groups, available to your script
  • External data fetched from your own APIs when tokens are issued
  • Custom validation logic that can deny token issuance
  • Built-in claims stay as they are

Token validation for your APIs

Local token validation, without a call to Logto per request.

  • Signed JWTs verified with Logto's public keys
  • Scope checks in your API for each request
  • Organization context in organization-scoped tokens, so your API can check which customer a request belongs to
  • Validation guides for Node.js, Python, Go, Java, .NET, PHP, Ruby, and Rust
  • Permission changes apply to newly issued tokens

More ways to control access.

  • Organizations

    Every customer gets its own members, with roles from the template you already defined.

  • Machine-to-machine apps

    Give backend services roles of their own, across your product or inside one organization.

  • Partner app consent

    For third-party OIDC / OAuth apps, users approve access to their data and APIs on the consent screen.

Define your roles. Enforce permissions in your apps and APIs.