Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.set-mode ​

Graduate an identity app from dev to live (one-way, irreversible)

Graduate an identity app from dev to live (ONE-WAY, irreversible).

Inputs:

  • actor, organization_uuid (required)
  • identity_app_uuid: the app (required)
  • mode: must be "live" (dev → live is the only supported transition)
  • redirect_uris: optional live redirect URI replacement for single-client apps
  • client_updates: optional [{client_uuid, redirect_uris}] for multi-client apps

Outputs: switched (bool), mode, identity_app_uuid, invalid_redirect_uris

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
modestringYes——
redirect_urislistNo——
client_updateslistNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
switchedbooleanYes——
modestringNo——
identity_app_uuiduuidNo——
invalid_redirect_urislistNo——
updated_clientslistNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
reasonstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "identity.app.set-mode",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "mode": "value"
  }
}