Skip to content
Proud to collaborate with Microsoft for Startups

identity.app.allow-dev-origin ​

Allow a localhost development origin for an identity app client

Allow a local development origin for an identity app.

Inputs:

  • actor: Cognito sub or user UUID
  • organization_uuid: owning organization (required)
  • identity_app_uuid: app to update (required)
  • origin: local origin such as http://localhost:3010 (required)
  • callback_path: callback route to register, default /callback
  • dry_run: when true, report the merge without persisting

Outputs:

  • identity_app_uuid, client_uuid, origin, redirect_uri, redirect_uris
  • already_allowed, added, dry_run, updated_at

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
originstringYes——
callback_pathstringNo——
dry_runbooleanNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
identity_app_uuiduuidNo——
client_uuiduuidNo——
originstringNo——
redirect_uristringNo——
redirect_urislistNo——
already_allowedbooleanNo——
addedbooleanNo——
dry_runbooleanNo——
updated_atstringNo——
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.allow-dev-origin",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "origin": "value"
  }
}