arazzo: 1.0.1
info:
title: Auth0 Create Client, Create Connection and Enable
summary: Create a client application, create a connection, and enable the connection for the new client.
description: >-
A full application bootstrap flow. The workflow creates a client
application, creates a new identity connection, and enables that connection
for the freshly created client so users from the connection can sign in to
the application. 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-connections-api-openapi.yml
confidence: 0.82
model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: clientsApi
url: ../openapi/auth0-clients-api-openapi.yml
type: openapi
- name: connectionsApi
url: ../openapi/auth0-connections-api-openapi.yml
type: openapi
workflows:
- workflowId: create-client-create-connection-enable
summary: Create a client and a connection, then enable the connection for the client.
description: >-
Creates a client, creates a connection, and enables the connection for the
new client using its returned client_id.
inputs:
type: object
required:
- clientName
- connectionName
- strategy
properties:
clientName:
type: string
description: Name for the client application.
connectionName:
type: string
description: Name for the new connection.
strategy:
type: string
description: Identity provider strategy for the connection (e.g. auth0).
steps:
- stepId: createClient
description: >-
Create a new client application.
operationId: post_clients
requestBody:
contentType: application/json
payload:
name: $inputs.clientName
successCriteria:
- condition: $statusCode == 201
outputs:
clientId: $response.body#/client_id
- stepId: createConnection
description: >-
Create a new connection with the supplied name and strategy.
operationId: post_connections
requestBody:
contentType: application/json
payload:
name: $inputs.connectionName
strategy: $inputs.strategy
successCriteria:
- condition: $statusCode == 201
outputs:
connectionId: $response.body#/id
- stepId: enableClient
description: >-
Enable the new connection for the newly created client.
operationId: patch_clients
parameters:
- name: id
in: path
value: $steps.createConnection.outputs.connectionId
requestBody:
contentType: application/json
payload:
- client_id: $steps.createClient.outputs.clientId
status: true
successCriteria:
- condition: $statusCode == 204
outputs:
clientId: $steps.createClient.outputs.clientId
connectionId: $steps.createConnection.outputs.connectionId
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.