Create API, Role and Bind Permissions
A 3-step recipe with Auth0. We can help you get access.
Recipe · 3 steps
Create API, Role and Bind Permissions
with Auth0 · Identity & Access Management
Register an API, create a role, and attach the API's permissions to the role.
- Register a new API (resource server) with the supplied scopes.
- Create a user role to hold the API's permissions.
- Associate the supplied API permissions with the new role.
What you'll need to have ready
- apiName: Friendly name for the API (resource server).
- identifier: Unique audience identifier for the API.
- scopes: List of scope definitions for the API.
- roleName: Name of the role to create.
- permissions: Array of resource_server_identifier / permission_name pairs to associate with the role.
For your developer
Arazzo workflow auth0:create-resource-server-role-permissions, 3 operations: post_resource-servers → post_roles → post_role_permission_assignment. Specs on APIs.io.