Auth0 · Arazzo Workflow

Auth0 Create User and Assign Direct Permissions

Version 1.0.0

Create a database user, assign direct API permissions, then list those permissions.

1 workflow 1 source API 1 provider
View Spec View on GitHub AI AgentsAuthenticationAuthorizationFGAIdentity ManagementMCPOktaOpenID ConnectSAMLSecuritySCIMArazzoWorkflows

Provider

auth0

Workflows

create-user-assign-permissions
Create a user and grant direct API permissions.
Creates a user in a database connection, assigns the supplied direct permissions, and lists the user's permissions to verify.
3 steps inputs: connection, email, password, permissions outputs: permissions, userId
1
createUser
Create a new user in the supplied database connection.
2
assignPermissions
Assign the supplied direct permissions to the new user.
3
listPermissions
List the user's permissions to confirm the direct assignments.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Auth0 Create User and Assign Direct Permissions
  summary: Create a database user, assign direct API permissions, then list those permissions.
  description: >-
    Provisions a user and grants them direct permissions without going through a
    role. The workflow creates a user in a database connection, assigns one or
    more resource-server/permission pairs directly to the user, and lists the
    user's permissions to confirm. Each step spells out its request inline so the
    flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-620.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-620.20
      capability_name: Identity & Access Management
      spec: auth0-users-api-openapi.yml
      confidence: 0.92
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: usersApi
  url: ../openapi/auth0-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-user-assign-permissions
  summary: Create a user and grant direct API permissions.
  description: >-
    Creates a user in a database connection, assigns the supplied direct
    permissions, and lists the user's permissions to verify.
  inputs:
    type: object
    required:
    - connection
    - email
    - password
    - permissions
    properties:
      connection:
        type: string
        description: Name of the database connection the user should be created in.
      email:
        type: string
        description: Email address for the new user.
      password:
        type: string
        description: Initial password for the new user.
      permissions:
        type: array
        description: Array of resource_server_identifier / permission_name pairs to assign directly to the user.
        items:
          type: object
          required:
          - resource_server_identifier
          - permission_name
          properties:
            resource_server_identifier:
              type: string
            permission_name:
              type: string
  steps:
  - stepId: createUser
    description: >-
      Create a new user in the supplied database connection.
    operationId: post_users
    requestBody:
      contentType: application/json
      payload:
        connection: $inputs.connection
        email: $inputs.email
        password: $inputs.password
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      userId: $response.body#/user_id
  - stepId: assignPermissions
    description: >-
      Assign the supplied direct permissions to the new user.
    operationId: post_permissions
    parameters:
    - name: id
      in: path
      value: $steps.createUser.outputs.userId
    requestBody:
      contentType: application/json
      payload:
        permissions: $inputs.permissions
    successCriteria:
    - condition: $statusCode == 201
  - stepId: listPermissions
    description: >-
      List the user's permissions to confirm the direct assignments.
    operationId: get_permissions
    parameters:
    - name: id
      in: path
      value: $steps.createUser.outputs.userId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      permissions: $response.body
  outputs:
    userId: $steps.createUser.outputs.userId
    permissions: $steps.listPermissions.outputs.permissions

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/auth0-create-user-assign-permissions-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.