data.identity.app.persist ​
Create an identity tenant (IdentityApp + initial OIDC client)
Insert an IdentityApp + its initial IdentityAppClient.
Input: organization_uuid (required), name (required), project_uuid (optional), actor (optional), redirect_uris (optional). Output: identity_app_uuid, client_uuid, client_key, redirect_uris, created_at, persisted.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-identity |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
name | string | Yes | — | — |
project_uuid | uuid | No | — | — |
actor | string | No | — | — |
redirect_uris | list | No | — | — |
mode | string | No | — | — |
dev_allowed_emails | list | No | — | — |
org_owned_enabled | boolean | No | False | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
identity_app_uuid | uuid | Yes | — | — |
client_uuid | uuid | No | — | — |
client_key | string | Yes | — | — |
redirect_uris | list | No | — | — |
created_at | string | Yes | — | — |
persisted | boolean | Yes | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | complete | Persist identity app |
completed | No | Yes | Yes | — | Persisted |
failed | No | Yes | No | — | Persist failed |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | complete | completed | — |
pending | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.identity.app.persist",
"initial_data": {
"organization_uuid": "value",
"name": "value"
}
}