Skip to content
Proud to collaborate with Microsoft for Startups

identity.end-user.continuation.redeem ​

Spend a continuation grant and resolve the end-user principal to run as

Redeem a continuation grant and return the principal to run the work as.

Inputs:

  • token: the opaque handle issued by identity.end-user.continuation.issue

Outputs:

  • end_user_uuid, identity_app_uuid, conversation_uuid, request_id, grant_uuid
  • metadata: the engine metadata to stamp on the continued run

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
tokenstringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
grant_uuidstringYes——
end_user_uuidstringYes——
identity_app_uuidstringYes——
conversation_uuidstringYes——
request_idstringYes——
metadatadictYes——
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.end-user.continuation.redeem",
  "initial_data": {
    "organization_uuid": "value",
    "token": "value"
  }
}