Skip to main content

Advanced Configurations

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

A comprehensive reference for every building block in the Flow Builder, covering flow types, widgets, steps, components, and executors, with configuration details and guidance for building robust flows.

Node Types​

START​

The START node marks the entry point of every flow. Each flow has exactly one START node. It appears automatically when you open a new flow and cannot be deleted.

Prompt Node​

A PROMPT node renders a screen to the user. It presents form fields, buttons, and other UI elements defined by its prompts. The flow pauses at a PROMPT node until the user fills the required inputs and selects an action to advance. Each PROMPT node is built from a list of prompts. Each prompt entry declares:

  • inputs (optional): form fields the user must fill before the flow can advance.
  • action (optional): a button or link the user selects to advance. An action carries a nextNode reference, so different actions can route the flow to different paths.

A prompt entry can carry an action only, or both. The node collects all input values across every prompt entry and pauses until the requirements for the selected action are satisfied.

Input fields

FieldRequiredDescription
identifierYesUnique key used to store the submitted value.
refNoUI binding reference that links to a meta component by id.
typeNoField type: text (default), password, or select.
requiredNoWhen true, the field must be filled before the flow can advance.
defaultValueNoValue the prompt returns as the input's defaultValue. See Default and Constant Input Values.

Action

FieldRequiredDescription
refYesUnique identifier for the action.
nextNodeYesID of the node to advance to when this action is selected.
typeNoAction type forwarded to the next node's executor, so it can tell which action was taken. Recognized values are defined by that executor.

Example

{
"id": "collect-credentials",
"type": "PROMPT",
"prompts": [
{
"inputs": [
{ "identifier": "username", "type": "text", "required": true },
{ "identifier": "password", "type": "password", "required": true }
],
"action": { "ref": "action-password", "nextNode": "verify-password", "type": "SUBMIT" }
},
{
"inputs": [
{ "identifier": "username", "type": "text", "required": true },
{ "identifier": "phone", "type": "text", "required": true }
],
"action": { "ref": "action-otp", "nextNode": "send-otp", "type": "SUBMIT" }
}
]
}
Display-Only Mode

A display-only PROMPT node renders a screen without collecting user input. It is used in three cases:

  • Terminal success: Ends the flow with a complete status.
  • Terminal error: Ends the flow with a failure status.
  • Intermediate display: Pauses the flow mid-execution; continuation happens via a separate mechanism.

A PROMPT node is treated as display-only when it has a next property but no prompts entries. The display is rendered to the user and execution automatically advances to the node specified by next.

PropertyRequiredDescription
nextYesID of the next node to advance to automatically. Mutually exclusive with prompts.
messageNoA textual message included in the node response for non-verbose rendering.
{
"id": "welcome-screen",
"type": "PROMPT",
"next": "identify-user",
"message": "Welcome! Setting up your account..."
}
Meta Field

The meta field is a UI rendering descriptor that carries a component tree that tells the client how to render the PROMPT screen. This is a PROMPT-node-only configuration field.

meta is only included in a flow response when the client requests verbose mode. Even then, the runtime processes it before sending: it trims, enriches, and patches the component tree to match only what is still needed for the current execution step.

To enable verbose mode, set "verbose": true in the flow execution request body. It defaults to false.

Top-level shape

{
"meta": {
"components": [ ... ]
}
}

The components array is the only field the runtime acts on. Any other fields in meta are passed through as-is.

Component types

TypeRole
BLOCKContainer that groups inputs and actions. Input and action components must live inside a BLOCK.
ACTIONA button or link. Its id must match the ref of a prompt action.
DYNAMIC_INPUT_PLACEHOLDERMarks where dynamically derived inputs (those arriving via ForwardedData, not declared in the node's prompts) should be inserted.
Any other typeTreated as a structural or display component (e.g. a text label). Kept as-is; its children are recursively trimmed.

Note: DYNAMIC_INPUT_PLACEHOLDER is only valid for a PROMPT node reached via a Provisioning node's onIncomplete edge.

Each component is identified by an id field and optionally a ref field. When both are present, ref takes priority for matching against prompt inputs.

Example

{
"id": "login-screen",
"type": "PROMPT",
"prompts": [
{
"inputs": [
{ "identifier": "username", "ref": "field-username", "type": "text", "required": true },
{ "identifier": "password", "ref": "field-password", "type": "password", "required": true }
],
"action": { "ref": "action-submit", "nextNode": "verify" }
}
],
"meta": {
"components": [
{
"id": "main-block",
"type": "BLOCK",
"components": [
{ "id": "field-username", "ref": "field-username", "type": "text", "label": "Username", "required": true },
{ "id": "field-password", "ref": "field-password", "type": "password", "label": "Password", "required": true },
{ "id": "action-submit", "type": "ACTION", "label": "Sign In" }
]
}
]
}
}
Login Options Variant

A PROMPT node with the LOGIN_OPTIONS variant acts as the login method chooser in an authentication flow. It controls which authentication options are presented to the user and can selectively show or hide actions based on keys resolved at runtime.

How it works

Each action on a LOGIN_OPTIONS node can be mapped to a key string via the authMethodMapping node property. The mapping is one-to-one: each key maps to exactly one action ref. When the flow reaches this node, Choreo Identity & Access Management filters the node's actions based on the resolved keys:

  • Actions whose key matches a resolved value are included.
  • Actions that are not mapped to any key are always shown, regardless of resolved values.
  • If only one action remains after filtering, the chooser screen is skipped and that option is selected automatically.
  • If no action matches any resolved value, all actions are shown as a fallback.

To surface multiple gated options, multiple keys can be resolved, each mapped to a different action.

Node property

PropertyRequiredDescription
authMethodMappingNoObject mapping key strings to action refs. Actions listed here are selectively shown based on resolved keys. Actions not listed are always shown.

Example

The node below has three actions. action-password and action-otp are conditionally shown based on the resolved keys; action-passkey has no mapping entry and is always shown.

{
"variant": "LOGIN_OPTIONS",
"properties": {
"authMethodMapping": {
"password": "action-password",
"otp": "action-otp"
}
},
"prompts": [
{ "action": { "ref": "action-password", "nextNode": "pwd-task" } },
{ "action": { "ref": "action-otp", "nextNode": "otp-task" } },
{ "action": { "ref": "action-passkey", "nextNode": "pk-task" } }
]
}

Runtime Behavior for this Example

Resolved keysActions shown
passwordaction-password, action-passkey
otpaction-otp, action-passkey
password, otpaction-password, action-otp, action-passkey
(none, or no match)All three actions

Task Execution Node​

A TASK EXECUTION node runs a named executor, a discrete unit of server-side logic such as sending a notification, creating a user, or validating a credential. The node routes to different successor nodes based on whether the executor succeeds, fails, or requires additional input.

Node configuration

FieldRequiredDescription
executorYesName of the executor to run.
modeNoOperational mode passed to the executor. Use when an executor supports multiple steps or variants (e.g. send, verify).
inputsNoOverride the executor's default inputs for this node. When omitted, the executor's own default inputs are used.
onSuccessNoID of the node to advance to when the executor completes successfully.
onFailureNoID of the node to forward to when the executor reports a failure. The failure reason is stored in runtime data so the target node (typically a PROMPT) can display it.
onIncompleteNoID of the PROMPT node to forward to when the executor needs additional user input.

When a node declares its own inputs, those replace the executor's defaults for that specific node instance. This lets the same executor be used in different parts of a flow with different field sets. See Providing Inputs to the Executor. An input can also carry a default or constant value. See Default and Constant Input Values.

Node-level properties are injected into runtime data before the executor runs, making them available to the executor and to placeholder resolution downstream. See Executor Details and Configuration.

Example

{
"id": "send-sms",
"type": "TASK_EXECUTION",
"executor": {
"name": "SMSExecutor"
},
"properties": {
"senderId": "sms-sender-01"
},
"onSuccess": "verify-otp-screen",
"onFailure": "login-screen"
}

Call Node​

A CALL node invokes another flow as a sub-flow. When the callee flow reaches an END node, execution resumes in the caller at the CALL node's onSuccess target. If the callee terminates with an error, execution resumes at onFailure when set; otherwise the caller flow terminates with the callee's error.

Any flow can call any other flow, regardless of flowType. The referenced flow is resolved at runtime by its ID, so the callee can be edited independently. Nested CALLs are supported up to a fixed maximum depth of 10; exceeding it terminates the flow with a call-depth-exceeded error.

Node configuration

FieldRequiredDescription
flow.refYesID of the flow to invoke.
onSuccessYesID of the node to advance to when the callee flow completes successfully.
onFailureNoID of the node to forward to when the callee flow terminates with an error. Unlike TASK EXECUTION, the target does not have to be a PROMPT.

Example

{
"id": "call-signup",
"type": "CALL",
"flow": {
"ref": "self-registration-flow-id"
},
"onSuccess": "assert-generation",
"onFailure": "login-screen"
}

END​

The END node marks a successful completion of the flow. When the flow reaches an END node, Choreo Identity & Access Management issues an assertion confirming the user authenticated or registered successfully. A flow can have multiple END nodes if different paths each lead to a valid completion.

Building Blocks​

This section covers all items available in the left panel of the Flow Builder.

Widgets​

Widgets are pre-built, reusable flow segments that combine a View node and one or more Executor nodes. Adding a Widget gives you a complete, pre-wired block covering an entire authentication step.

WidgetDescription
Username + PasswordA login form wired to the Identifier + Password executor.
Continue with GoogleSocial login using Google.
Continue with GitHubSocial login using GitHub.
Continue with SMS OTPAn OTP input view wired to the Verify OTP executor.
Sign In with PasskeyA passkey prompt wired to the passkey verification executors.
ProvisioningA Provisioning executor wired to a dynamic input view that prompts for missing schema attributes.
Self Sign Up LinkA rich text link wired to a CALL node that invokes a registration flow.
Sign In LinkA rich text link wired to a CALL node that invokes an authentication flow.
Recovery LinkA rich text link wired to a CALL node that invokes a recovery flow.

Steps​

Steps are individual View nodes, a UI screen only, with no pre-wired executors. Use a Step when you need a custom combination not covered by a Widget.

StepDescription
Blank ViewAn empty View node. Add Components from the left panel to design the screen.
SMS OTP ViewA pre-designed OTP input screen for SMS verification.
Passkey ViewA pre-designed screen for passkey authentication.
Username + PasswordA pre-designed login form with username and password fields.
Consent ViewA screen for capturing user consent.

Components​

Components are the individual UI elements inside a View node. Add them to a Blank View to design a custom screen, or extend an existing Step with additional elements.

ComponentDescription
FormA container that groups input fields and a submit button.
Text InputA single-line text field.
Password InputA password field with masked input.
Email InputAn email address field.
Phone InputA phone number field.
Number InputA numeric field.
Date InputA date picker field.
OTP InputA one-time password input field.
CheckboxA checkbox for consent or toggling an option.
ButtonA clickable button that triggers a transition to the next node.
ResendA control that lets the user request a new OTP or code.
TextA read-only label or paragraph.
Rich TextA styled text block that supports links and formatting. Optionally carries an action: { ref } field; when set, anchors marked with data-action-ref dispatch a flow action instead of navigating, letting the rich text drive a CALL or other target the same way a button would.
DividerA horizontal rule that visually separates sections of a screen.
ImageAn image element such as a logo or illustration.
StackA layout container that groups other components.
IconA small icon element.
TimerA countdown timer, used on consent screen.
Dynamic Input PlaceholderMarks where dynamically forwarded inputs (e.g. from the Provisioning executor's incomplete path) should be rendered inside a View.

Executors​

Executors are backend operation nodes. Each Executor performs one specific operation and exposes up to three outcome paths: success (green dot), failure (red dot), and incomplete (yellow dot). Following is the list of available executors.

warning

Every flow you deploy must reference only executors that are registered on the server. If you configure flow.executors to register a subset of built-in executors, flows that reference executors outside that list fail validation at startup unless you register a custom executor with the same name.

ExecutorDescriptionConfiguration Prerequisites
Identifier + PasswordVerifies a username (or email) and password against the user store.-
OAuthAuthenticates via generic OAuth 2.0 provider.OAuth identity provider configured
OIDC AuthAuthenticates via generic OIDC provider.OIDC identity provider configured
GoogleAuthenticates the user via Google sign-in.Google identity provider configured
GitHubAuthenticates the user via GitHub sign-in.GitHub identity provider configured
Request PasskeyInitiates a passkey authentication challenge.Relying party configured
Verify PasskeyVerifies the user's passkey response.Request Passkey must have run
Start Passkey RegistrationBegins the passkey registration ceremony.Relying party configured
Finish Passkey RegistrationCompletes the passkey registration ceremony.Start Passkey Registration must have run
Generate OTPGenerates a time-limited OTP and forwards it for delivery.-
Verify OTPVerifies the OTP code the user entered.Generate OTP must have run
Generate Magic LinkGenerates a magic link authentication token and sends it to the user.-
Verify Magic LinkVerifies the magic link token submitted by the user.Generate Magic Link must have run
Identify UserLooks up a user by identifier in the user store.-
Resolve UserHandles disambiguation when multiple users match an identifier.-
Account LinkingMatches a federated identity that has no recorded link to existing accounts and links it after the user verifies one.A federated executor must run first
User Type ResolverResolves the user type based on configured rules.User type configured on the application
ProvisioningCreates or updates the user record in the store.-
Attribute CollectorCollects additional user attributes defined in the user type.-
Validate Attribute UniquenessChecks that unique attributes are not already registered.User Type Resolver must have run
Set CredentialsSets credentials (e.g., password) for an existing user.-
Validate and Plan SuspensionChecks that the administrator may suspend the account, then plans which tokens the revocation nodes withdraw.Administration flows only
Suspend IdentitySuspends the account that Validate and Plan Suspension planned.Administration flows only. Validate and Plan Suspension must have run. See Suspend and Restore Accounts
Unsuspend IdentityLifts a suspension. A user is left locked until recovery or an unlock.Administration flows only
Unlock IdentityClears every lock on a user or agent. In a recovery flow, releases the account whose credential the flow set.In a recovery flow, Set Credentials must have run
OpenID4VP VerifyInitiates an OpenID4VP credential presentation request, returns a QR code and deep link for the user's wallet, and polls until the credential is verified.OpenID4VP service configured in Choreo Identity & Access Management
AuthorizationEvaluates authorization policies for the current user.-
User ConsentRecords explicit user consent for defined scopes or terms.-
Validate PermissionChecks that the request has required scope/permissions.-
OU CreationCreates an organizational unit for the user.-
Resolve OUResolves or selects an organizational unit based on strategy.Varies by strategy
Generate InviteGenerates an invite link for user registration.-
Verify InviteVerifies an invite token before completing registration.Generate Invite must have run
Send EmailSends email using configured templates.Email provider configured
Send SMSSends SMS using configured templates and sender.SMS sender configured
Auth Assertion GeneratorGenerates the final authentication assertion on successful flow completion.User authenticated; assertion settings configured
End SessionTerminates the SSO session established by the authentication flow and clears its session cookie.-
HTTP RequestMakes HTTP requests to external endpoints.-
tip

Executor Reference​

Providing Inputs to Executor​

Each executor expects certain inputs required for its execution. These inputs can be configured as node inputs of the associated TASK EXECUTION node. If no node inputs are configured, the executor falls back to any default inputs defined in the executor itself.

Executors do not collect inputs directly. All required inputs must already be available when the executor runs. Inputs can come from:

  • A View earlier in the flow: user-provided data such as an email address or username.
  • A previous executor's output: data produced by an earlier step, such as a resolved user ID.
  • The flow definition: a defaultValue or constant set on the input. See Default and Constant Input Values.

What happens when an input is missing: If a required input is missing, the executor may either trigger an OnIncomplete handler node or prompt the user for missing inputs.

Declaring inputs in the Flow Builder

Use the Add input option in the executor's properties to specify which inputs the executor expects. The execution validates that each declared input is available from a preceding View or executor output.

Input Types​

Each executor input has a type field that tells the client how to render the field and what client-side validation to apply.

When an executor forwards inputs dynamically to a PROMPT node via its onIncomplete edge, the default type is TEXT_INPUT for non-credential inputs and PASSWORD_INPUT for credential inputs. The Provisioning executor forwards user attributes that define a fixed set of allowed values (enum) as SELECT inputs. To apply stricter client-side validation for a specific attribute (for example, email format validation), declare the input explicitly in the executor's inputs array with the appropriate type. The executor preserves the configured type when forwarding the input to the prompt node.

TypeDescription
TEXT_INPUTA single-line text field. Default for non-credential inputs.
EMAIL_INPUTAn email address field with email format validation.
PASSWORD_INPUTA masked password field. Default for credential inputs.
OTP_INPUTA one-time password input field.
PHONE_INPUTA phone number field with phone format validation.
NUMBER_INPUTA numeric input field.
DATE_INPUTA date picker field.
CONSENT_INPUTA consent checkbox field.
BOOLEAN_INPUTA checkbox that submits true or false.
HIDDENA hidden field not rendered to the user.
SELECTA dropdown selection field.
OU_SELECTAn organization unit selection field.
USER_SELECTA user selection field. The client loads the users page by page and submits the ID of the chosen user.
ROLE_SELECTA role selection field. The executor supplies the role IDs it offers, and the value submitted is one or more of them, separated by spaces.

View and Executor Pairings​

Each View node (Step or Widget) collects user input that must be read by a specific Executor. If you place a View on the canvas without connecting its required Executor, the flow will stall at the yellow incomplete dot. The table below shows which Executor is required or recommended for each View, and any prerequisites that must be satisfied first.

View (Step or Widget)Required Executor(s)PrerequisitesNotes
Username + Password (Step or Widget)Identifier + Password-The executor reads the username and password fields submitted by the View.
SMS OTP View (Step or Widget)Generate OTP → Send SMS → Verify OTPUser's mobile number must be on recordPlace Generate OTP and Send SMS before the View (no user input needed); place Verify OTP after to validate the code the user enters.
Passkey View (Step or Widget)Request Passkey → Verify Passkey-Both executors are required as a pair. Request Passkey issues the challenge; Verify Passkey validates the response.
Consent View (Step)User ConsentUser must be authenticatedThe executor reads the consent decisions submitted by the View. The user's ID must already be in the flow context.
Continue with Google (Widget)Google-Redirect-based. The executor handles the OAuth redirect and reads the authorization code returned by Google.
Continue with GitHub (Widget)GitHub-Redirect-based. The executor handles the OAuth redirect and reads the authorization code returned by GitHub.
Blank View (with attribute fields)Attribute CollectorUser must be authenticatedUse when collecting profile attributes required by the user type. The executor checks the user's existing attributes and prompts only for what is missing.
EUDI Wallet View (Widget)OpenID4VP VerifyOpenID4VP service configuredThe executor initiates the request and surfaces QR code data. The view renders the QR code and polls until the wallet responds.

Some Executors run entirely in the background and do not need a preceding View to gather user input.

ExecutorPlacementPrerequisites
Auth Assertion GeneratorLast Executor before the END node in every authentication flowUser must be authenticated by prior Executors
AuthorizationAfter authentication Executors, before Auth Assertion GeneratorUser must be authenticated
Generate OTPBefore the SMS OTP View-
Send SMSAfter Generate OTP, before the SMS OTP ViewUser's mobile number must be on record
Send EmailAfter the flow collects the recipient emailRecipient email input; inviteLink for invite and self-registration templates
ProvisioningAfter identity collection in registration flows-
Identify UserEarly in the flow, after the user submits an identifier-
User Type ResolverAfter Identify User-
Account LinkingImmediately after a federated executor, with onIncomplete pointing to the linking promptA federated executor must run first
OU CreationAfter Provisioning in registration flowsOU name and handle inputs must be present in the flow context. Accepts an optional parentOuId property (see below).

Executor Details and Configuration​

Expand each executor below for a full reference, including when to use it, prerequisites, inputs, failure conditions, and node property configuration.

Credential Verification and Management​

Identifier + Password

Verifies a provided identifier and a password against stored values. This is the standard executor for username-password based authentication.

When to use: Any flow that collects a user identifier (username, email, etc.) and password from the user. Pair with the Username + Password View or Widget, and configure the identifier field to match your chosen identifier type.

Prerequisites: None.

View pairing: Requires the Username + Password View (Step or Widget). Configure the identifier field in the View to match your chosen identifier type (e.g., username or email).

How it works in registration flows: When used in a registration flow, the executor checks whether the user already exists. If found, it fails with "User already exists." If not found, it returns complete without authenticating, allowing the flow to proceed to provisioning. If a user ID was pre-resolved earlier in the flow (e.g., via the Resolve User executor), the executor skips the identifier prompt and only requests the password.

Input Configuration:

  • User identifier (required): a field or attribute that can identify a user. Default: username. Can be overridden with any supported identifier (e.g., email). Can be collected from the user via an identifier View. Skipped automatically if userID is already resolved in runtime data from a prior executor.
  • User credential (required): a field or attribute that represents the user's credential. Default: password. Can be overridden to use a different credential attribute. Can be collected from the user via a credential View.

Example:

{
"id": "credentials_auth",
"type": "TASK_EXECUTION",
"executor": {
"name": "CredentialsAuthExecutor",
"inputs": [
{
"identifier": "username",
"type": "TEXT_INPUT",
"required": true
},
{
"identifier": "password",
"type": "PASSWORD",
"required": true
}
]
}
}

Failure conditions:

  • Invalid credentials
  • User not found
  • Authentication service error
Set Credentials

Sets credentials (e.g., password) for an existing user. Typically used in registration flows after Provisioning to let the new user set their own password, or in account management flows where an authenticated user updates their credentials.

When to use: Registration flows after user account creation (after Provisioning), or account management flows where an authenticated user is changing their credentials.

Prerequisites:

  • userID (required): must be present in runtime data before this executor runs. Not a configurable node input. Populated by:
    • In registration flows: the Provisioning executor, which creates the user and sets userID
    • In account management flows: any authentication executor (Identifier + Password, OAuth, SMS OTP, etc.) or user resolution executor

View pairing: Pair with a Blank View configured with credential input fields (e.g., a Password field). The View collects the new credential value and passes it to this executor.

Input Configuration:

  • Credential value (required): a field or attribute that represents the new credential to set for the user. Default: password. Can be collected from the user via a credential View.

Example:

{
"id": "set_credentials",
"type": "TASK_EXECUTION",
"executor": {
"name": "CredentialSetter",
"inputs": [
{
"identifier": "password",
"type": "PASSWORD",
"required": true
}
]
},
"onIncomplete": "prompt_new_password"
}

Failure conditions:

  • userID not present in runtime data
  • Credential value not provided
  • User not found in the user store
  • Credential value does not meet the user type's requirements, such as a password regex (FET-1133): routes to incomplete, so point onIncomplete at the credential View to prompt the user for a different value, as the default recovery flows do. Without onIncomplete, the step asks for the credential again but has no View to show, so the user sees only the error
  • Credential update failed

Account locks in recovery flows: setting a credential does not release an account lock. In a recovery flow, place an Unlock Identity node (IdentityGovernanceExecutor in unlock mode) right after this executor, as the default recovery flows do. Without it, a locked user who completes recovery stays locked. The node releases only the account whose credential this flow set. If identity governance is off or refuses the release, the step completes and the lock stays. If the release fails on a server error, the step fails and the user can run recovery again.

{
"id": "release_account_locks",
"type": "TASK_EXECUTION",
"executor": { "name": "IdentityGovernanceExecutor", "mode": "unlock" },
"onSuccess": "recovery_complete"
}

Federated Authentication​

A federated executor signs in a local user only through a link already recorded for the connection. A matching attribute never signs a user in directly. Follow the federated node with an Account Linking node, which matches the connection's account-linking attributes against existing accounts and has the user verify one of the matched accounts before linking it.

A declarative user is read-only, so Choreo Identity & Access Management does not record a link for it. When the user verifies a declarative account, sign-in completes without storing the link, and later sign-ins through the same connection repeat the matching and verification.

To sign in a first-time federated user who has no local account, enable allowAuthenticationWithoutLocalUser on the executor and place a Provisioning executor downstream. The application must allow exactly one user type with self-registration enabled.

OAuth

Authenticates users via a generic OAuth 2.0 provider. After the OAuth redirect, Choreo Identity & Access Management exchanges the authorization code for an access token and user profile information.

When to use: Any flow offering single sign-on via a custom OAuth provider not covered by pre-built executors.

Prerequisites: An OAuth identity provider must be configured in Choreo Identity & Access Management with a valid client ID, client secret, and redirect URI.

View pairing: Pair with a Continue with [Provider Name] Widget. No user input is needed beyond the redirect: the Widget initiates the redirect and the executor reads the returned code.

Executor properties:

PropertyUI LabelRequiredDescription
idpIdConnectionYesThe identity provider ID configured in Choreo Identity & Access Management
allowAuthenticationWithoutLocalUserAllow Authentication Without Local UserNoAllow authentication when no local user exists (creates federated link)
allowRegistrationWithExistingUserAllow Registration With Existing UserNoAllow registration if the account already exists

Input Configuration:

  • code (required): the authorization code returned by the OAuth provider after redirect. Default: code. If not provided, the executor redirects to the OAuth provider to start the authorization flow and get a code.

Example:

{
"id": "oauth_login",
"type": "TASK_EXECUTION",
"properties": {
"idpId": "<idp-id>",
"allowAuthenticationWithoutLocalUser": false,
"allowRegistrationWithExistingUser": false
},
"executor": {
"name": "OAuthExecutor"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • User denied consent on the OAuth provider's authorization screen
  • Authorization code expired or already used
  • Client credentials or redirect URI mismatch
  • OAuth identity provider not configured in Choreo Identity & Access Management
OIDC

Authenticates users via a generic OIDC provider. After the OIDC redirect, Choreo Identity & Access Management exchanges the authorization code for an ID token and extracts identity claims.

When to use: Any flow offering single sign-on via a custom OIDC provider (Enterprise IdP, custom authorization server, etc.).

Prerequisites: An OIDC identity provider must be configured in Choreo Identity & Access Management with a valid client ID, client secret, and redirect URI.

View pairing: Pair with a Continue with [Provider Name] Widget. No user input is needed beyond the redirect: the Widget initiates the redirect and the executor reads the returned code.

Executor properties:

PropertyUI LabelRequiredDescription
idpIdConnectionYesThe identity provider ID configured in Choreo Identity & Access Management
allowAuthenticationWithoutLocalUserAllow Authentication Without Local UserNoAllow authentication when no local user exists (creates federated link)
allowRegistrationWithExistingUserAllow Registration With Existing UserNoAllow registration if the account already exists

Input Configuration:

  • code (required): the authorization code returned by the OIDC provider after redirect. Default: code. If not provided, the executor redirects to the OIDC provider to start the authorization flow and get a code.

Example:

{
"id": "oidc_login",
"type": "TASK_EXECUTION",
"properties": {
"idpId": "<idp-id>",
"allowAuthenticationWithoutLocalUser": false,
"allowRegistrationWithExistingUser": false
},
"executor": {
"name": "OIDCAuthExecutor"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • User denied consent on the provider's authorization screen
  • Authorization code expired or already used
  • Client credentials or redirect URI mismatch
  • OIDC identity provider not configured in Choreo Identity & Access Management
Google

Authenticates users via Google OIDC. After the OAuth redirect, Choreo Identity & Access Management exchanges the authorization code for an ID token and extracts identity claims.

When to use: Any flow offering "Sign in with Google."

Prerequisites: A Google identity provider must be configured in Choreo Identity & Access Management with a valid client ID, client secret, and redirect URI.

View pairing: Pair with the Continue with Google Widget. No user input is needed beyond the redirect: the Widget initiates the redirect and the executor reads the returned code.

Executor properties:

PropertyUI LabelRequiredDescription
idpIdConnectionYesThe identity provider ID configured in Choreo Identity & Access Management
allowAuthenticationWithoutLocalUserAllow Authentication Without Local UserNoAllow authentication when no local user exists (creates federated link)
allowRegistrationWithExistingUserAllow Registration With Existing UserNoAllow registration if the account already exists

Input Configuration:

  • code (required): the authorization code returned by Google after user consent. Default: code

Example:

{
"id": "google_login",
"type": "TASK_EXECUTION",
"properties": {
"idpId": "<idp-id>",
"allowAuthenticationWithoutLocalUser": false,
"allowRegistrationWithExistingUser": false
},
"executor": {
"name": "GoogleOIDCAuthExecutor"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • User denied consent on Google's authorization screen
  • Authorization code expired or already used
  • Client credentials or redirect URI mismatch in the Google OAuth application
  • Google identity provider not configured in Choreo Identity & Access Management
GitHub

Authenticates users via GitHub OAuth 2.0. After the redirect, Choreo Identity & Access Management exchanges the authorization code for an access token and fetches the user's profile.

When to use: Developer-facing applications where GitHub is the preferred sign-in option.

Prerequisites: A GitHub identity provider must be configured in Choreo Identity & Access Management with a valid client ID, client secret, and redirect URI.

View pairing: Pair with the Continue with GitHub Widget. No user input is needed beyond the redirect: the Widget initiates the redirect and the executor reads the returned code.

Executor properties:

PropertyUI LabelRequiredDescription
idpIdConnectionYesThe identity provider ID configured in Choreo Identity & Access Management
allowAuthenticationWithoutLocalUserAllow Authentication Without Local UserNoAllow authentication when no local user exists (creates federated link)
allowRegistrationWithExistingUserAllow Registration With Existing UserNoAllow registration if the account already exists

Input Configuration:

  • code (required): the authorization code returned by GitHub after user authorization. Default: code

Example:

{
"id": "github_login",
"type": "TASK_EXECUTION",
"properties": {
"idpId": "<idp-id>",
"allowAuthenticationWithoutLocalUser": false,
"allowRegistrationWithExistingUser": false
},
"executor": {
"name": "GithubOAuthExecutor"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • User denied authorization on GitHub
  • Redirect URI not registered in the GitHub OAuth application
  • Authorization code expired
  • GitHub identity provider not configured in Choreo Identity & Access Management

Passkeys (WebAuthn)​

Request Passkey

Issues a WebAuthn authentication challenge. The browser forwards it to the user's authenticator (device biometric, hardware key, etc.), which signs the challenge.

When to use: First executor in a passkey sign-in step, immediately before the Passkey View. Always paired with Verify Passkey.

Prerequisites:

  • userID (optional): if present in runtime data, the challenge targets only passkeys registered for that user. If absent, a usernameless challenge is issued and any registered passkey can respond. Populated by any prior authentication executor.
  • relyingPartyId node property must be set to the domain where the passkey is used (e.g., app.example.com). The executor hard-fails if missing.

View pairing: Must be followed by the Passkey View, which collects the signed authenticator response.

Executor properties:

PropertyUI LabelRequiredDescription
relyingPartyIdRelying Party IDYesThe relying party domain (e.g. app.example.com)
relyingPartyNameRelying Party NameNoDisplay name of the relying party (e.g. My App)
authenticatorSelection-NoAuthenticator selection criteria object with fields: authenticatorAttachment, requireResidentKey, residentKey, userVerification
attestation-NoAttestation conveyance preference (e.g. none, direct, indirect). Defaults to none.

Input Configuration: None. This executor generates a challenge; it does not collect inputs from the user.

Example:

{
"id": "request_passkey",
"type": "TASK_EXECUTION",
"properties": {
"relyingPartyId": "app.example.com",
"relyingPartyName": "My App"
},
"executor": {
"name": "PasskeyAuthExecutor",
"mode": "challenge"
},
"onSuccess": "passkey_view",
"onFailure": "end"
}

Failure conditions:

  • relyingPartyId node property missing or empty
  • No passkeys registered for the user (when userID is provided)
  • Passkey service error
Verify Passkey

Validates the cryptographic response returned by the user's authenticator against the session token issued by Request Passkey.

When to use: Immediately after the Passkey View, always paired with Request Passkey.

Prerequisites:

  • passkeySessionToken (required): set in runtime data by Request Passkey. Not a configurable node input. The executor fails if absent.
  • userID (optional): used in usernameless flows when the authenticator returns a user handle that needs to be resolved.

View pairing: Must be immediately preceded by the Passkey View, which collects the signed response from the authenticator.

Input Configuration:

  • credentialId (required): the credential ID returned by the authenticator. Default: credentialId
  • clientDataJSON (required): the client data from the authenticator response. Default: clientDataJSON
  • authenticatorData (required): the authenticator data from the response. Default: authenticatorData
  • signature (required): the cryptographic signature from the response. Default: signature
  • userHandle (optional): the user handle from the authenticator; used in usernameless flows. Default: userHandle

Example:

{
"id": "verify_passkey",
"type": "TASK_EXECUTION",
"executor": {
"name": "PasskeyAuthExecutor",
"mode": "verify"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • Signature verification failed (invalid or tampered response)
  • Session token missing (Request Passkey did not run)
  • User not found after successful verification

Retry behavior: If the passkey response is invalid (client error), the executor returns INCOMPLETE instead of failing the flow, allowing the user to retry by providing the required inputs again.

Start Passkey Registration

Begins the WebAuthn credential registration ceremony and returns PublicKeyCredentialCreationOptions to the browser.

When to use: Registration flows that include passkey enrollment, or within an authenticated session when adding a passkey to an existing account. Always paired with Finish Passkey Registration.

Prerequisites:

  • userID (required): must be present in runtime data. The executor hard-fails if missing. Populated by Provisioning (for new users during registration) or any authentication executor (for existing users adding a passkey).
  • relyingPartyId node property must be set to the domain where passkeys will be registered (e.g., app.example.com). The executor hard-fails if missing.

Executor properties:

PropertyUI LabelRequiredDescription
relyingPartyIdRelying Party IDYesThe relying party domain (e.g. app.example.com)
relyingPartyNameRelying Party NameNoDisplay name of the relying party (e.g. My App)
authenticatorSelection-NoAuthenticator selection criteria object with fields: authenticatorAttachment, requireResidentKey, residentKey, userVerification
attestation-NoAttestation conveyance preference (e.g. none, direct, indirect). Defaults to none.

Input Configuration: None. This executor generates the registration ceremony options and does not collect user inputs.

Example:

{
"id": "start_passkey_reg",
"type": "TASK_EXECUTION",
"properties": {
"relyingPartyId": "app.example.com",
"relyingPartyName": "My App"
},
"executor": {
"name": "PasskeyAuthExecutor",
"mode": "register_start"
},
"onSuccess": "finish_passkey_reg",
"onFailure": "end"
}

Failure conditions:

  • userID not available
  • relyingPartyId node property missing or empty
  • Passkey service error
Finish Passkey Registration

Completes the WebAuthn registration ceremony and stores the new credential in the user's passkey list.

When to use: Immediately after the user's device returns the newly created credential. Always follows Start Passkey Registration.

Prerequisites:

  • passkeySessionToken (required): set in runtime data by Start Passkey Registration. Not a configurable node input. The executor fails if absent.

View pairing: Must be immediately preceded by the Passkey View, which collects the user's newly created credential.

Input Configuration:

  • credentialId (required): the credential ID of the newly created passkey. Default: credentialId
  • clientDataJSON (required): the client data from the registration response. Default: clientDataJSON
  • attestationObject (required): the attestation object from the registration response. Default: attestationObject
  • credentialName (optional): a user-friendly label for the passkey. Default: credentialName (falls back to "Passkey" if empty)

Example:

{
"id": "finish_passkey_reg",
"type": "TASK_EXECUTION",
"executor": {
"name": "PasskeyAuthExecutor",
"mode": "register_finish"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • Session token missing (Start Passkey Registration did not run)
  • Credential already registered
  • Invalid credential: allow the user to retry by providing the required inputs

OTP​

Generate OTP

Generates a time-limited OTP, stores the session token in runtime data, and forwards the OTP code to downstream delivery executors via ForwardedData. Runs in the background: no user interaction at this step.

When to use: Any step requiring OTP-based verification. Place this executor before the delivery executor (e.g., Send SMS) and the OTP input View. Always paired with Verify OTP.

How it identifies the user:

The executor resolves the OTP recipient in this order:

  1. UserID from authenticated context: if a prior executor (e.g., Identifier + Password) has already authenticated the user, the userID is read directly and the OTP is keyed to that user.
  2. UserID from declared inputs: if the user is not yet authenticated, the executor uses the declared node inputs (e.g., mobile_number) to look up the user in the user store.
  3. Registration flows: if no user is found and the flow type is registration, the first declared phone or email input value is used directly as the OTP recipient (since no user exists yet).

Input Configuration:

  • mobile_number (optional): used to look up the user in the user store by their phone number. Required in non-authenticated flows where phone number is the user identifier.

Executor properties:

PropertyUI LabelRequiredDescription
maxAttempts-NoMaximum OTP generation attempts before the flow fails. Default: 3

Example:

{
"id": "generate_otp",
"type": "TASK_EXECUTION",
"executor": {
"name": "OTPExecutor",
"mode": "generate"
},
"onSuccess": "send_sms"
}

Failure conditions:

  • User not found for the provided phone number
  • User not identified and no identifying input declared
  • Maximum OTP generation attempts exceeded (default: 3)
  • OTP service error
Verify OTP

Validates the OTP code the user entered against the session token stored by Generate OTP.

When to use: Immediately after the OTP input View. Always follows Generate OTP in the same flow.

Prerequisites:

  • otpSessionToken (required): set in runtime data by Generate OTP. Not a configurable node input. The executor fails if absent.

View pairing: Must be immediately preceded by the OTP input View, which collects the OTP code the user received.

Input Configuration:

  • otp (required): the OTP code entered by the user. Default: otp

Executor properties:

PropertyRequiredDescription
maxAttemptsNoMaximum incorrect submissions for the current code. Unset means no attempt limit. Verify OTP nodes added in the flow builder set this to 3.

Example:

{
"id": "verify_otp",
"type": "TASK_EXECUTION",
"executor": {
"name": "OTPExecutor",
"mode": "verify"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • OTP code incorrect: the user can retry until the code expires or reaches the configured limit
  • OTP session token missing (Generate OTP did not run)
  • OTP expired (user waited too long to enter it)
  • Authentication service error

When the configured limit is reached, the current code becomes invalid. The user needs a newly generated code to try again.

Generate Magic Link

Generates a time-limited magic link token and forwards it to a delivery executor (Send Email or Send SMS). Runs in the background: no user interaction at this step.

When to use: Passwordless authentication or registration flows where users sign in by clicking an emailed or SMS-delivered link. Always paired with Verify Magic Link in a separate verify flow.

Prerequisites: None.

Input Configuration: None. The destination email or phone is resolved from prior user inputs or user store. This executor has no registered node input default. A Send Email or Send SMS executor must follow this one to deliver the generated link.

Executor properties:

PropertyUI LabelRequiredDescription
tokenExpiry-NoToken validity period in seconds. Defaults to the magic link service default if absent.
magicLinkURL-NoURL prefix for the generated magic link. Defaults to the service-configured URL if absent.

Example:

{
"id": "generate_magic_link",
"type": "TASK_EXECUTION",
"executor": {
"name": "MagicLinkExecutor",
"mode": "generate"
},
"onSuccess": "send_email",
"onFailure": "end"
}

Failure conditions:

  • In registration flows, if the user already exists (token generation skipped silently to prevent enumeration)
  • Invalid destination attribute configuration
Verify Magic Link

Validates the magic link token the user received and authenticates them. Runs in a separate flow from Generate Magic Link, triggered when the user clicks the link.

When to use: After a user clicks the magic link from their email/SMS. Always follows Generate Magic Link (in a prior flow).

Prerequisites:

  • A magic link token must have been generated and delivered by Generate Magic Link in a prior flow execution. The token is typically passed as a URL query parameter when the user clicks the link.

Input Configuration:

  • token (required): the magic link token from the URL. Default: token

Example:

{
"id": "verify_magic_link",
"type": "TASK_EXECUTION",
"executor": {
"name": "MagicLinkExecutor",
"mode": "verify"
},
"onSuccess": "auth_assert",
"onFailure": "end"
}

Failure conditions:

  • Token mismatch (wrong token provided)
  • Token expired (user waited too long to click the link)
  • No token provided
  • Token invalid or not found (Generate Magic Link did not run)
  • User lookup failed after token validation

User Provisioning and Attributes​

Provisioning

Creates a new user record in the user store. This executor persists the user's identity during registration flows. The executor follows the user type schema: required attributes are determined by the user type resolved earlier in the flow.

When to use: Registration flows, after the User Type Resolver has run. Also authentication flows, after a federated executor with allowAuthenticationWithoutLocalUser enabled, to create the local account for a first-time user.

Prerequisites (registration and user onboarding flows):

  • userType (required): must be present in runtime data. Set by User Type Resolver or by a previous operation. Defines which attributes are required for the new user.
  • defaultOUID or ouId (required): must be present in runtime data. Set by User Type Resolver or OU Resolver. Determines which OU the new user belongs to.

Authentication flows: The executor uses userType and the OU ID from runtime data when they are present. The User Type Resolver does not set userType in authentication flows, so the executor falls back to the application's allowed user types. It takes the only one with self-registration enabled, and provisioning fails when none or more than one is eligible.

How attribute collection works: The executor fetches required and optional attributes from the user type schema. Attributes already present in user inputs or federated accounts are considered satisfied. Only missing required attributes are prompted. Optional attributes are only prompted if includeOptional is enabled in node properties.

Prompt batching: If maxPerPrompt is set, the executor forwards only that many missing inputs per prompt cycle, cycling through them across multiple flow iterations.

How existing users are detected: Before creating the record, the executor checks whether a conflicting user already exists. It matches only on the attributes that the user type schema marks unique and that were collected for the new user, so a changed non-unique attribute does not hide an existing account. Credential attributes are never used for this check. When the user type declares no unique attributes, the executor skips the check and creates the record. It also skips the check for a federated sign-in, where the connection's linking configuration already decided whether an existing account may be matched. The user store validates uniqueness on write in every case.

Cross-OU provisioning: When allowCrossOUProvisioning is set and the user exists in a different OU, the executor creates the user in the target OU instead of failing.

Federated registration: A federated identity finds existing users only through its recorded links. In a registration flow, and in a user onboarding flow where an invitee accepts with a federated account, the users linked to the identity decide the outcome before any attribute is collected:

Linked users that countResult
NoneThe executor creates the user and records the link.
One, and the federated executor allows registration with an existing userThe flow completes as that user.
One, otherwiseThe node fails with "User already exists."
SeveralThe node fails with "User already exists."

Without allowCrossOUProvisioning, every linked user counts. With it, only linked users in the target OU count, so registering into an OU where nobody holds the link creates a second user with the same link.

Seeding from authorization mapping: When the identity being provisioned federated in through a connection with Authorization Mapping configured, seedGroupsFromMapping and seedRolesFromMapping assign whatever groups and roles that mapping resolves for the asserted attributes, as ordinary direct assignments at account-creation time, alongside anything named in assignGroup/assignRole. This is a one-time snapshot: it does not keep the account in sync with the provider afterward the way the mapping does on every subsequent sign-in, and it has nothing to resolve when the executor runs outside a federated context.

Executor properties:

PropertyUI LabelRequiredDefaultDescription
allowCrossOUProvisioningAllow Cross-OU ProvisioningNofalseAllow creating the user in a different OU from the default when the user already exists in another OU
provisioningOUCreate the user inNoresolvedWhere to create the user. resolved uses the OU an earlier step resolved, such as an OU resolver or the token's OU in an invitation flow, and falls back to the OU of the user type. userType always uses the OU of the user type: the one User Type Resolver recorded, otherwise the OU of the user type being provisioned, as in a sign-in flow. It fails when neither resolves. Any other value fails provisioning. The created user's ID is recorded as userID in runtime data
assignGroupAssign GroupNo-Group ID to automatically assign the new user to
assignRoleAssign RoleNo-Role ID to automatically assign the new user to
includeOptional-NofalseWhether to prompt for optional (non-credential) schema attributes
includeOptionalCredentialsInclude Optional CredentialsNofalseWhether to prompt for optional credential attributes
maxPerPrompt-No0 (all at once)Maximum number of missing inputs to forward per prompt cycle
seedGroupsFromMappingSeed Groups From Authorization MappingNofalseAssign groups the connection's authorization mapping resolved for this subject
seedRolesFromMappingSeed Roles From Authorization MappingNofalseAssign roles the connection's authorization mapping resolved for this subject

Input Configuration: Required user attributes are dynamically determined from the user type schema, so no fixed input defaults are needed. However, you may optionally declare entries in the executor's inputs array to set a specific input type for an attribute (e.g., EMAIL_INPUT for an email field). Without an explicit override, non-credential inputs default to TEXT_INPUT. Attributes that define a fixed set of allowed values (enum) in the user type schema are always forwarded as SELECT inputs that list those values as options. A prompt node that declares the attribute as a SELECT input receives the same options, and a prompt node that declares it with another type keeps that type. In a prompt node that this executor doesn't forward inputs to, define the options in the flow definition. See Input Types for valid types.

Example:

{
"id": "provisioning",
"type": "TASK_EXECUTION",
"properties": {
"allowCrossOUProvisioning": false,
"assignGroup": "",
"assignRole": ""
},
"executor": {
"name": "ProvisioningExecutor",
"inputs": [
{
"identifier": "email",
"type": "EMAIL_INPUT"
}
]
},
"onSuccess": "set_credentials",
"onFailure": "error_prompt",
"onIncomplete": "attr_form"
}

Failure conditions:

  • userType or OU ID not available (User Type Resolver did not run)
  • In authentication flows, none or more than one of the application's allowed user types has self-registration enabled
  • User already exists with a conflicting unique attribute (in registration flows, prompts for a different value)
  • Required attribute validation failure
  • User store error
Attribute Collector

Checks the authenticated user's existing profile attributes against the node's configured required inputs, then prompts only for what is missing. Skips automatically in registration flows.

When to use: Authentication flows where you want to progressively collect profile attributes from returning users without re-prompting for data they have already provided.

Prerequisites:

  • userID (required): must be present in runtime data. Set by any authentication executor. The executor fails immediately if missing.
  • Only runs in authentication flows, but automatically skips (returns complete immediately) in registration flows.

View pairing: Connect a Blank View (with the required attribute fields) to receive the incomplete path. The executor routes back to the View only for attributes the user has not yet provided.

How missing-input resolution works:

  1. Checks the user's authenticated attributes.
  2. Falls back to the user's stored profile in the user store.
  3. Only attributes absent from both sources are added to the prompt.

Input Configuration: No registered defaults. Configure any attribute identifiers as node inputs; the executor checks those attributes and prompts only for missing ones.

Example:

{
"id": "attr_collector",
"type": "TASK_EXECUTION",
"executor": {
"name": "AttributeCollector",
"inputs": [
{
"identifier": "email",
"type": "TEXT_INPUT",
"required": true
}
]
},
"onSuccess": "next_step",
"onFailure": "end",
"onIncomplete": "attr_form"
}

Failure conditions:

  • User not authenticated
  • userID missing from context
  • User not found in the user store
  • User store update error

Identity and User Resolution​

Identify User

Looks up an existing user in the store by a submitted identifier (email, username, phone, etc.). Operates in strict single-match mode: fails if multiple users match the identifier.

When to use:

  • Early in authentication flows to resolve the user before credential verification
  • In social login flows to check whether a federated account is already linked
  • In registration flows to detect duplicate identifiers

Prerequisites: None.

View pairing: Typically follows a View that collects an identifier (email, username, etc.). In federated flows, no View is needed: the identifier comes from the social executor's output.

Input Configuration: No registered defaults. Configure the identifier attribute(s) (e.g., email, username, mobile_number) as node inputs to specify which fields are used for the user store lookup.

Example:

{
"id": "identify_user",
"type": "TASK_EXECUTION",
"executor": {
"name": "IdentifyingExecutor",
"mode": "identify",
"inputs": [
{
"identifier": "username",
"type": "TEXT_INPUT",
"required": true
}
]
},
"onSuccess": "credentials_auth",
"onFailure": "end",
"onIncomplete": "prompt_identifier"
}

Executor properties (identify mode):

PropertyUI LabelRequiredDefaultDescription
boundToUserTypeBound to the user typeNofalseAccept only a user of the user type the flow resolved earlier, for example with User Type Resolver. A user of another type fails with FET-1054. If the flow resolved no user type, the execution fails with an error instead of following onFailure
continueOnNoMatchContinue when no user matchesNofalseWhen no user matches, follow onIncomplete without an error, keeping the submitted identifier for later steps. Without it, the prompt shows the "not found" error and the identifier is cleared

Failure conditions:

  • No user found matching the submitted identifier (routes to incomplete: use this path to branch to registration)
  • Multiple users match (ambiguous match: hard failure, routes to failure)
  • User store lookup error
Resolve User

Resolves an ambiguous user match by presenting disambiguation options to the user, then re-filtering until exactly one user is identified. Operates in resolve mode with support for multi-step disambiguation.

When to use:

  • When Identify User found multiple candidates and the flow needs to disambiguate
  • When different OUs, user types, or other attributes need to be selected to narrow down matches
  • In multi-tenant scenarios where the same email may exist under different organizations

Prerequisites:

  • Candidate users (optional): if stored in runtime data from a prior Identify User execution that returned an ambiguous match, the executor filters from those candidates in-memory. Otherwise, it performs a fresh search against the user store. Not a configurable node input.

View pairing: Pair with a Blank View configured with disambiguation inputs (e.g., OU handle selector, user type selector).

How disambiguation works:

  1. Checks for stored candidate users from a previous Identify User execution. If none exist, performs a fresh search using the provided attributes.
  2. Builds a filter from the user's selected attributes (from View inputs)
  3. Filters candidates against the selected attributes
  4. If multiple candidates remain, extracts new disambiguation options and prompts again
  5. If exactly one candidate matches, returns that user as authenticated

Input Configuration: No registered defaults. Configure disambiguation attribute identifiers (e.g., ouHandle, userType) as node inputs; the executor filters candidates by whatever is provided.

Example:

{
"id": "resolve_user",
"type": "TASK_EXECUTION",
"executor": {
"name": "IdentifyingExecutor",
"mode": "resolve",
"inputs": [
{
"identifier": "ouHandle",
"type": "TEXT_INPUT",
"required": true
}
]
},
"onSuccess": "prompt_password",
"onFailure": "end",
"onIncomplete": "prompt_disambiguate"
}

Failure conditions:

  • No candidates available (Identify User did not find multiple matches)
  • User selection does not match any candidate
  • Candidates are indistinguishable (no further disambiguation options available)

After a federated sign-in: When a federated executor ran earlier in the flow, the identity's recorded links decide the user, so the node ignores its inputs and the identity's claims:

  1. The node completes without resolving anyone when there is nothing to pick: the identity is linked to at most one user, or the flow is a registration flow. In a registration flow, Provisioning settles the linked users against the OU it registers into.
  2. When several users hold the identity's link, the federated executor sets entityState to ambiguous. The node loads those users and offers the attributes that tell them apart, such as ouHandle or userType, through onIncomplete. A field that offers options is never filled in from a claim, so the user always makes the choice.
  3. Only the offered attributes filter the linked users, so the user picks between them and nothing else. A pick that matches none of them is offered again, and linked users that no attribute tells apart fail the flow.
  4. Once one user remains, the node signs that user in, sets userID, and sets entityState to exists.

Place the node between the federated executor and Account Linking. The Account Linking with Verification and Account Selection widget adds it, with a view that has a SELECT field for ouHandle. The Account Linking with Verification widget leaves it out, so use it only where an identity is linked to at most one user.

Account Linking

Links a federated identity that has no recorded link to an existing account, after the user verifies that account. The federated executor does not look for matching accounts: this node matches the connection's account-linking attributes against existing accounts. Every outcome where it settles an unlinked identity onto an account that already exists records the link here; Provisioning records only the link of a user it just created.

When to use: Immediately after every federated executor whose connection has account-linking attributes configured.

How it works:

  1. If somebody is already authenticated, the node completes. This is a returning user whose link is already recorded, so there is nothing to decide and nothing to record. The node also completes when several users hold the identity's link (entityState is ambiguous), since there is nothing to link. A Resolve User node placed before it picks between them.
  2. Otherwise the node matches the connection's account-linking attributes against existing accounts. If none matches, this identity has no local account. The node completes and provisioning creates the account and records the link.
  3. If one or more accounts matched, the node holds them as candidates, publishes the matched attribute values for the prompt, and forwards to whatever is wired on onIncomplete. The prompt offers to link the matched account (CONFIRM) or to continue with a separate one (REJECT), as described in the action table below.
  4. When verification comes back, the node checks that the account that verified is one of the candidates, then records the link to that account before completing. If the account that verified is not a candidate, the node discards that sign-in and shows the prompt once more, so the user can verify another account or refuse. On refusal the candidates are dropped and the flow continues as a new user for provisioning to create.

When the identity is already linked (step 1) or the node has just recorded the link (step 4), it sets entityState to exists in runtime data.

The prompt details go into AdditionalData as linkingPromptDetails, a JSON array of {"label","value"} objects. There is one row for each local attribute that matched, so an email claim mapped to username that matches on both shows a Username row and an Email row. Each row is labeled with the attribute's display name in the matched accounts' user type schema, or with the attribute name when the schema gives none, and rows are ordered by attribute name. The values are the ones the connection supplied, so the prompt shows nothing about the matched accounts beyond the fact that one exists. It does not say how many matched. A view renders the list with a KEY_VALUE_LIST component whose source is linkingPromptDetails.

Several accounts can match, for example when two users share a non-unique linking value, or when email matches one user's username and another user's email. The user does not pick one on the prompt. The account they verify is the one linked. If more than 10 accounts match, the node fails.

The node does not care how the account is proved. The called flow is an ordinary sign-in flow: a password prompt, a passkey, an OTP, another connection, or a LOGIN_OPTIONS chooser offering several of those all satisfy it. Which methods it offers is the flow author's call, so call a flow the matched account can actually complete. The called flow runs with runtime data of its own, so its steps see neither the candidates nor the claims the connection supplied, and the user identifies the account themselves. When it returns, this flow's runtime data is restored, so a verification at another connection never replaces the identity being linked.

The node has no properties. What the prompt shows follows from the connection's account-linking attributes.

onIncomplete is required and must point to the prompt that offers the match. Flow validation rejects a node without it.

onFailure must not lead back to this node unless the path signs in at a connection again on the way, for example an onFailure that points at the sign-in prompt, where the federated node signs in again before the flow returns here. A failure leaves whoever verified signed in, so a node reached straight from its own failure would complete as that account with no link written. Flow validation rejects such a path.

The prompt's two buttons are the answer, so it collects no field. Each one carries an action type that the PROMPT node forwards to whatever that action points at, and this node reads it there.

Action typeWire it toMeaning
CONFIRMA Flow (CALL) node that runs the verification sign-in flow, or the first of the verification steps in this flowThe user accepts the match. It only routes: the verification steps are what prove the account.
REJECTThis nodeThe user wants a separate account. The candidates are dropped and the flow continues as a new user.

A forwarded action type survives exactly one node, so the REJECT action must point straight at this node. Flow validation rejects one that points anywhere else: routed through an intermediate node the answer is lost, and the node would read the pass as a verification nobody completed. The CONFIRM action can verify the account in one of two ways:

  • Call a verification flow. Point it at a Flow (CALL) node whose onSuccess points back at this node.
  • Verify in this flow. Point it at the first verification step. Every path from there must lead back to this node without reaching an End node or an Account Linking, Provisioning, or Auth Assertion Generator node.

Flow validation rejects any other wiring, since the account that verified is checked and linked only when the flow comes back to this node. When it comes back, this node restores the flow's runtime data, so anything the verification steps in this flow wrote is discarded.

Example:

{
"id": "account_linking",
"type": "TASK_EXECUTION",
"executor": {
"name": "AccountLinkingExecutor"
},
"onSuccess": "provisioning",
"onFailure": "end",
"onIncomplete": "prompt_link_account"
}

Failure conditions:

  • More than 10 accounts match the account-linking attributes, or one attribute matches several users held by a custom authn provider
  • The account that completed verification is not one of the candidates, and the identity saved before verification cannot be restored to prompt again
  • Recording the link is rejected
  • The node is reached a second time with nobody authenticated and no REJECT action forwarded, meaning the verification branch authenticated no one
User Type Resolver

Determines the user type and default OU for the flow. The resolved values are used by Provisioning and other downstream executors. Behavior differs by flow type.

When to use: At the start of registration and user onboarding flows, before Provisioning. Also used in authentication flows to validate that the application allows the resolved user type.

Prerequisites:

  • The application must have at least one user type configured in Choreo Identity & Access Management Console (Applications → allowed user types).
  • In registration flows, at least one user type must have self-registration enabled.

Behavior by flow type:

Flow typeBehavior
RegistrationResolves from the application's allowed user types, checking self-registration eligibility. Auto-selects if only one eligible type; prompts with a SELECT input if multiple are available.
AuthenticationValidates that the application has at least one allowed user type, but does not select one. A downstream Provisioning executor uses the application's allowed user types.
User OnboardingLists all user types in the system, optionally filtered by node properties or by a prior resolved OU.

Executor properties:

PropertyUI LabelRequiredDescription
allowedUserTypesAllowed User TypesNoArray of user type handles to restrict the eligible set to a subset of the application's allowed types

Input Configuration:

  • userType (required): the user type selection. Default: userType. If only one eligible user type exists, the executor resolves it automatically without prompting.

Example:

{
"id": "user_type_resolver",
"type": "TASK_EXECUTION",
"properties": {
"allowedUserTypes": []
},
"executor": {
"name": "UserTypeResolver"
},
"onSuccess": "provisioning",
"onFailure": "end",
"onIncomplete": "user_type_form"
}

Failure conditions:

  • No allowed user types configured for the application
  • No user types with self-registration enabled (registration flows)
  • User-selected type is not in the allowed list
  • User type not found in the system
Resolve OU

Resolves or selects an organizational unit based on a configured strategy. Overwrites the default OU set by User Type Resolver when applicable.

When to use: User onboarding and sign-in flows where the target OU must be determined dynamically based on the caller, administrative or user selection, or system hierarchy.

In sign-in flows: A sign-in lands in one OU where both the user and the application are found. See Sign Users In to Organization Units. When the sign-in's OU is already decided, because the request named one or the application is not shared, this executor keeps it with every strategy and completes without prompting.

Prerequisites: Depends on the resolution strategy (see table below).

Executor properties:

PropertyUI LabelRequiredDefaultBehavior
resolveFromResolve FromYes-Strategy for OU resolution: caller, prompt, promptAll, or user
parentOuIdParent OU IDYes, for prompt in sign-in flows-The OU under which the user selects an OU. Allowed only with prompt or user in sign-in flows, and rejected on save otherwise. Optional with user, where it narrows the choice to the OUs beneath it. In other flow types the default OU set by User Type Resolver is used
directChildrenOnlyLimit to direct childrenNofalseAllowed only with prompt, and rejected on save otherwise. Only direct children of the parent OU can be selected, not deeper descendants

Resolution Strategies:

caller strategy:

  • Extracts the caller's OU from the security context
  • Overwrites the default OU with the caller's OU
  • When to use: B2B flows where the administrator's OU determines where the new user is created
  • Prerequisites: The caller must have an OU in their security context (automatically extracted from the incoming request)
  • Setup: No special setup needed. The OU is read from the calling account's security context
  • Failure conditions: Caller's OU not found in security context

prompt strategy:

  • Prompts the user to select a child OU if the parent OU has children. The parent OU is the node's parentOuId or, when the node sets none, the default OU set by User Type Resolver. In sign-in flows there is no default OU, so parentOuId is required
  • In a sign-in flow, once the user has signed in, the node offers the OUs the user can sign in to instead: the user's own OU and the OUs the user is shared into, kept where the application can be used: parentOuId and the OUs beneath it, or with directChildrenOnly only its direct children. One OU is chosen without asking. Several are offered as a selection whose options are the OUs' handle paths, such as acme/engineering, in path order, or with directChildrenOnly their handles, such as engineering. A submitted value that is not one of the options is refused with FET-1029, and the selection is offered again
  • When to use: Delegated onboarding where an admin selects which sub-organization to create the user in, or sign-in flows where the user picks the sub-organization to be placed in, before or after signing in
  • Prerequisites:
    • A parent OU: either the parentOuId property, or the default OU (defaultOUID) that User Type Resolver resolves when it has run first. parentOuId is allowed in authentication flows only, where it is required: User Type Resolver does not set a default OU in sign-in flows, so a flow that uses prompt without parentOuId is rejected when you save it
    • A Blank View with OU selection input must follow this executor, to collect the user's OU selection
  • Setup:
    1. In sign-in flows, set parentOuId. In other flows, place User Type Resolver before this executor
    2. Add a Blank View immediately after this executor with an OU selection component
    3. This executor will prompt only if the parent OU has child OUs. Otherwise, it completes silently
    4. Turn on Limit to direct children (directChildrenOnly) to accept only direct children of the parent OU. By default the user fills in ouId. To have the user fill in ouHandle instead, which is looked up among the parent's direct children, declare a single required ouHandle input on this executor. The prompt node in the flow must use the same input
  • Failure conditions: Neither parentOuId nor a default OU is available, or the parent OU is not found; selected OU is not a child of the parent, or, with directChildrenOnly, not a direct child

promptAll strategy:

  • Shows the full OU tree from root, independent of User Type Resolver
  • When to use: Advanced onboarding with full OU tree visibility
  • Prerequisites: A Blank View with OU selection component must follow this executor
  • Setup:
    1. No need to run User Type Resolver first (unlike prompt strategy)
    2. Add a Blank View immediately after this executor with an OU selection component
    3. The executor will display the complete OU tree starting from root
  • Failure conditions: OU service error

Input Configuration:

  • ouId (required): the user's selected organizational unit. Used for prompt and promptAll strategies. When prompt offers a signed-in user's OUs, it holds the selected option: a handle path, or a handle with directChildrenOnly. Default: ouId
  • ouHandle (optional, alternative to ouId): with prompt and directChildrenOnly, declare it as the single required input in place of ouId to have the user enter the OU handle. The handle is looked up among the parent OU's direct children. Declaring it in any other mode is rejected on save

Example:

{
"id": "resolve_ou",
"type": "TASK_EXECUTION",
"properties": {
"resolveFrom": "caller"
},
"executor": {
"name": "OUResolverExecutor"
},
"onSuccess": "provisioning",
"onFailure": "end",
"onIncomplete": "ou_selector"
}

Failure conditions:

  • Caller's OU not found in security context (for caller strategy)
  • Selected OU does not exist
  • No OU the signed-in user can sign in to (for prompt after sign-in), which fails with FET-1122
  • OU service error
Authorization

Evaluates whether the authenticated user holds the required permissions. The authorized set is used by Auth Assertion Generator to include permissions in the token.

When to use: After authentication and before Auth Assertion Generator, when the application restricts access based on permissions or roles.

Prerequisites: None. This executor has no registered prerequisites. In registration flows, it completes immediately without checks.

How permission resolution works:

  1. Reads requested_permissions from user inputs or the OIDC scope parameter (space-separated permission strings).
  2. Resolves the user's group memberships from their profile or by fetching transitive groups.
  3. Calls the authorization service with the user ID, group IDs, and requested permissions.
  4. Passes the authorized permission set to Auth Assertion Generator.

If no permissions are configured, the executor completes immediately with an empty permission set.

Input Configuration: None. The executor reads requested_permissions from user inputs or the OIDC scope; it has no registered node input defaults.

Example:

{
"id": "authorization_check",
"type": "TASK_EXECUTION",
"executor": {
"name": "AuthorizationExecutor"
},
"onSuccess": "auth_assert"
}

Failure conditions:

  • User not authenticated (in non-registration flows)
  • Authorization service error
Authorization Details

Runs the processors of the RFC 9396 authorization details the application requests. A processor can approve a detail, refuse it, or fill in fields its type leaves to the processor. User Consent then prompts the user for the approved details, and Auth Assertion Generator issues the details the user grants.

When to use: In authentication flows of applications that request authorization_details. Place it after authentication and before User Consent. If a requested detail's type declares a processor and this executor has not run, User Consent fails the flow with FET-1130.

Prerequisites: The user must be authenticated. The executor fails if not.

How it works:

  1. Reads the authorization details requested for the flow. If none were requested, completes immediately.
  2. Sends each detail to its type's processor, with the authenticated user as the subject and the application as the client. A detail whose type declares no processor passes unchanged.
  3. Applies the processors' changes and passes the approved details to User Consent.

Input Configuration: None.

Example:

{
"id": "authorization_details",
"type": "TASK_EXECUTION",
"executor": {
"name": "AuthorizationDetailExecutor"
},
"onSuccess": "user_consent"
}

Failure conditions:

  • User not authenticated
  • The processors refused every requested detail (FET-1127). A refused detail is dropped while others remain. The error carries the processors' reasons when they give them.
  • A processor could not be reached or answered with a change it may not make, or a requested type changed while the flow was in progress (FET-1128)
User Consent

Checks whether the authenticated user has active consent records for the required attributes and the requested authorization details, prompts if any are missing, and records the user's decisions. Auth Assertion Generator automatically filters token claims to consented attributes, and issues only the authorization details the user granted, when this executor has run.

When to use: OAuth flows where the application requests access to specific user data. Required for privacy regulation compliance in many jurisdictions. Also required when the application requests authorization_details: without it, the login ends with access_denied. The default authentication flows have no User Consent step, so add one, with Authorization Details before it when a requested type declares a processor.

Prerequisites:

  • userID (required): must be present in runtime data. Set by any authentication executor. The executor fails if missing.
  • The application must have consent scopes or claims configured in OAuth/OIDC settings, or the request must carry authorization details.

View pairing: Pair with the Consent View (Step). The executor forwards consent prompt data to the View via ForwardedData; the View returns consent_decisions as a JSON payload. The executor completes immediately if the user already has active consent records.

How consent resolution works:

  1. Reads required_essential_attributes and required_optional_attributes from the application's assertion configuration.
  2. Calls the consent enforcer to check existing consent records. An earlier approval covers a requested authorization detail while the consent record is within the application's login consent validity period, the detail's type allows reuse and is still on the version the approval was given on, and the request asks for no more than the approval. A prompt=consent request and a CIBA request always prompt.
  3. If all consents are active, completes immediately: no prompt is needed.
  4. If any consents are missing, forwards the prompt data to the Consent View and awaits the user's decisions.
  5. After decisions are received, records them and makes consentId and consented_attributes available for Auth Assertion Generator.

Executor properties:

PropertyUI LabelRequiredDescription
timeoutConsent Timeout (seconds)NoSeconds before the consent prompt expires. If the user does not respond in time, the executor fails.

Input Configuration:

  • consent_decisions (required): JSON-encoded consent decisions returned by the Consent View. Default: consent_decisions

Example:

{
"id": "user_consent",
"type": "TASK_EXECUTION",
"properties": {
"timeout": "0"
},
"executor": {
"name": "ConsentExecutor"
},
"onSuccess": "auth_assert",
"onFailure": "end",
"onIncomplete": "consent_view"
}

Failure conditions:

  • userID not available
  • User denied one or more essential (required) attributes: hard failure
  • Consent prompt timed out (if timeout is configured)
  • A requested authorization detail needs its type's processor and Authorization Details did not run (FET-1130)
  • A change the user made to an authorization detail is not allowed by its type (FET-1129)
  • A requested authorization details type changed while the flow was in progress (FET-1128)
  • Consent service error
Validate Permission

Validates that the incoming API request has the required permission/scope to proceed. This is a request-level guard distinct from user-level authorization. Used to enforce scope-based access control on administrative or sensitive operations.

When to use: At the start of user onboarding or administrative flows, to prevent unauthorized callers from executing sensitive operations. For example, only admins with user:write scope can start user registration flows.

Prerequisites: None. Permissions are extracted automatically from the incoming request's security context (OAuth token or identity context header).

How it works:

  1. Extracts required scopes from the requiredScopes node property (if configured)
  2. Reads permissions from the incoming request's security context
  3. Checks if the request has at least one of the required permissions
  4. Returns COMPLETE if authorized, FAILURE if not

Executor properties:

PropertyUI LabelRequiredDefaultDescription
requiredScopesRequired ScopesNoSystem rootArray of permission/scope strings required for access. If omitted, defaults to system root scope. Set to [] to allow any authenticated caller.

Input Configuration: None. This executor operates on the request security context and has no configurable node input defaults.

Example:

{
"id": "validate_permission",
"type": "TASK_EXECUTION",
"properties": {
"requiredScopes": ["system"]
},
"executor": {
"name": "PermissionValidator"
},
"onSuccess": "next_step",
"onFailure": "end"
}

Failure conditions:

  • Request lacks one of the required permissions: returns FAILURE with "Insufficient permissions"
  • Request context unavailable: returns FAILURE

Organization Management​

OU Creation

Creates a new Organizational Unit. The created OU is available for use by downstream executors.

When to use: B2B self-registration flows, place after Provisioning, once the user account exists.

Prerequisites:

  • None. If parentOuId is not set as a node property, the executor falls back to the default OU ID from runtime data (set by User Type Resolver or OAuth executor). If neither is available, no parent is assigned.

Input Configuration:

  • ouName (required): the display name of the new OU.
  • ouHandle (required): the unique URL-safe identifier for the OU.

Executor properties:

PropertyUI LabelRequiredDefaultDescription
parentOuIdParent OU IDNo-Controls where the new OU is created. A valid UUID creates the OU as a child of that parent; "" (empty string) creates at root level; omitted falls back to the default OU resolved by User Type Resolver.

Example:

{
"id": "ou_creation",
"type": "TASK_EXECUTION",
"properties": {
"parentOuId": "019d94ff-072c-7d7f-a5c5-0a638c1f62bc"
},
"executor": {
"name": "OUExecutor"
},
"onSuccess": "next_node",
"onFailure": "error_prompt"
}

Failure conditions:

  • An OU with the same name already exists at the target parent: re-prompts the user to change the name
  • An OU with the same handle already exists: re-prompts the user to change the handle
  • Specified parentOuId does not exist
  • OU service error

Account Lifecycle​

These executors run the suspend, unsuspend, and unlock administration flows, and release an account lock at the end of a recovery flow. See Suspend and Restore Accounts and Let Users Recover From a Lock.

Validate and Plan Suspension

Checks that the administrator may suspend the account, then plans which tokens the revocation nodes withdraw. If this check refuses the operation, no token or session is affected. A later failure can leave revocation or session termination partially completed without placing the suspension.

When to use: In a suspend administration flow, after Validate Permission and before Revoke Tokens, Revoke Sessions, and Suspend Identity.

Input Configuration:

  • subject (required): the ID of the user, agent, or application to suspend. When it is missing, the flow asks for it.

Example:

{
"id": "pre_suspend",
"type": "TASK_EXECUTION",
"executor": { "name": "PreSuspendExecutor" },
"onSuccess": "revoke_tokens"
}

Failure conditions:

  • The administrator may not suspend the account, targets their own user or agent, or the account does not exist
  • The operatorNote input is longer than 100 characters
Suspend, Unsuspend, and Unlock Identity

One executor, IdentityGovernanceExecutor, applies one lifecycle operation, selected by the node mode. The mode has no default, so a node without one fails flow validation.

ModeConsole labelWhat it does
suspendSuspend IdentitySuspends the account that Validate and Plan Suspension planned. On an account that is already suspended it writes nothing, so the original time and note are kept, but the revocation nodes before it still run.
unsuspendUnsuspend IdentityLifts a suspension. A user receives a permanent account-wide lock, even if automatic locking is disabled. An agent keeps any automatic lock still in force.
unlockUnlock IdentityClears all locks and their history, including the lock left after a user is unsuspended. It does not lift a suspension.

When to use: In the administration flows that suspend, unsuspend, or unlock an account. In a recovery flow, use unlock right after Set Credentials. Flow validation rejects a suspend or unsuspend node outside an administration flow, and the flow builder offers only unlock there.

Input Configuration:

  • subject (required in administration flows): the ID of the user, agent, or application to unsuspend, or of the user or agent to unlock. The node asks for it when it is missing. In suspend mode the account comes from Validate and Plan Suspension. In a recovery flow, the account is the one whose credential the flow set, and the input is ignored.
  • operatorNote (optional): a note of at most 100 characters recorded with a suspension and returned on management reads. A suspension with a longer note fails. Other modes accept and ignore it.

Example:

{
"id": "access_governance",
"type": "TASK_EXECUTION",
"executor": { "name": "IdentityGovernanceExecutor", "mode": "unsuspend" },
"onSuccess": "end"
}

Failure conditions:

  • The administrator may not manage the account, targets their own user or agent, or the account does not exist
  • The operation does not apply, such as unsuspending an account that is not suspended
  • In a recovery flow, no earlier step proved control of the account

An administrative refusal or missing recovery proof fails the flow with FET-1112, which does not name the cause. The server logs the cause at debug level. If proof exists but the governance provider refuses the recovery unlock, the step completes without releasing the lock. This also applies when identity governance is disabled. A server error fails the operation.

Notifications​

Send Email

Sends a transactional email using a configured template. Runs in the background: no user interaction. Supports invite, registration, and recovery scenarios.

When to use:

  • Invite flows: Send an invitation link to a user being added by an administrator.
  • Registration flows: Send a welcome or email-verification message after account creation.
  • Recovery flows: Send a password reset link to the user's registered email.

Prerequisites:

  • email (required): the recipient email address must be resolvable before this executor runs. Not a configurable node input. Resolved in priority order: forwarded data from prior executors (e.g., Generate Invite, Magic Link) → user inputs → user store (looked up via userID). The executor fails if none of these resolve to a non-empty address.
  • senderId (required at runtime): the ID of the email provider the step sends through. A flow step does not use the server-wide default sender in Notification Defaults; each step names its own provider. See Configure an Email Provider.

Skip delivery: If skipDelivery is set to true, the executor returns complete immediately without sending anything. Use this in test environments.

Executor properties:

PropertyUI LabelRequiredDefaultDescription
senderIdEmail providerYes, at runtime-ID of the email provider the step sends through, selected in the node's properties. The step fails without it. The executor schema marks it optional only because built-in flows include email steps before any provider exists.
emailTemplateEmail TemplateNouser_inviteThe template scenario to use. If absent or empty, defaults to the user invite template.
bestEffortNot shownNofalseWhen true, a send that fails completes the step instead of failing the flow, and the flow response carries emailSent as "false". Server-side failures are logged. The Flow Builder does not show it, so a flow built in the Console sends with it set to false.

Input Configuration: None. The email executor resolves the recipient and template data from runtime context; it has no configurable node input defaults.

Example:

{
"id": "send_email",
"type": "TASK_EXECUTION",
"properties": {
"senderId": "<email-provider-id>",
"emailTemplate": "UserInvite"
},
"executor": {
"name": "EmailExecutor",
"mode": "send"
},
"onSuccess": "next_step",
"onFailure": "end"
}

Failure conditions:

  • senderId missing, empty, or not the ID of an email provider (FET-1038, Email provider is not configured)
  • Recipient email address not resolvable from context or user entity
  • Template rendering error
  • SMTP server unreachable or rejecting the message (server error)

When the step fails because the provider is not configured or no recipient resolves, and the flow generated an invite link, the step's response carries the link in additionalData.inviteLink, for a screen that shows it instead.

With bestEffort set to true, none of these fail the step.

Send SMS

Sends a transactional SMS using a configured template and sender. Runs in the background: no user interaction. Uses template-based message body rendering.

When to use:

  • Notification flows: Send an SMS reminder, confirmation, or one-time code to the user.
  • Alert flows: Notify the user of account activity or status changes.
  • Registration flows: Send welcome or verification SMS after account creation.

Prerequisites:

  • An SMS sender must be configured in Choreo Identity & Access Management. See SMS Providers.
  • senderId node property must be set to the configured sender ID

Recipient resolution order:

  1. A phone-type input from the node's configured inputs (from ForwardedData)
  2. mobile_number from user inputs
  3. Phone attribute from user store (looked up by userID if available)

Phone number validation: Accepts phone numbers in E.164 format and common variations with parentheses, spaces, dashes.

Executor properties:

PropertyUI LabelRequiredDescription
senderIdNotification SenderYesThe notification sender ID configured in Choreo Identity & Access Management
smsTemplateSMS TemplateYesThe template name to use for rendering the SMS body

Input Configuration:

  • mobile_number (required): the recipient phone number. Default: mobile_number

Example:

{
"id": "send_sms",
"type": "TASK_EXECUTION",
"properties": {
"smsTemplate": "OTPVerification",
"senderId": "<sender-id>"
},
"executor": {
"name": "SMSExecutor"
},
"onSuccess": "next_step",
"onFailure": "end"
}

Failure conditions:

  • Phone number not found in context or user store
  • senderId not configured in node properties
  • Phone number invalid or undeliverable format
  • SMS service error

Invitations and User Onboarding​

Generate Invite

Generates an invite token and link for user registration. Typically paired with Email or SMS Executor to deliver the invite link.

When to use:

  • Administrative onboarding: Admin invites external users to sign up
  • Self-service with email confirmation: User provides email, receives invite link
  • B2B workflows: Partner organization users invited to create accounts

Prerequisites: None.

How it works:

  1. Generates a cryptographically secure invite token
  2. Stores the token for Verify Invite to consume
  3. Generates a full invite link (with token embedded)
  4. Forwards the link to downstream Email or SMS executors via ForwardedData
  5. In a user onboarding flow, also returns the link to the admin in the step's additionalData.inviteLink. An invitation flow does not, because with the link the admin could accept for an existing user: Send Email returns it only when the email cannot be sent

Input Configuration: None. The recipient email or phone is resolved from prior user inputs or user store. A Send Email or Send SMS executor must follow this one to deliver the invite link.

Example:

{
"id": "invite_generate",
"type": "TASK_EXECUTION",
"executor": {
"name": "InviteExecutor",
"mode": "generate"
},
"onSuccess": "send_invite_email",
"onFailure": "end"
}

Failure conditions:

  • Token generation service error
Verify Invite

Validates an invite token provided by the user and completes the invite verification step.

When to use: After a user receives an invite link and clicks it, verifying the invite token before allowing registration to proceed.

Prerequisites:

  • An invite token must have been generated and delivered by Generate Invite in a prior flow execution. The token is typically passed as a URL query parameter when the user clicks the invite link.

View pairing: The invite link includes the token as a query parameter; the View (if present) extracts it and passes it to the executor.

How it works:

  1. Reads the user-provided invite token from user inputs
  2. Compares it against the stored token from Generate Invite
  3. Returns COMPLETE if tokens match, FAILURE if they do not

Input Configuration:

  • inviteToken (required): the token from the invite link URL. Default: inviteToken

Example:

{
"id": "invite_verify",
"type": "TASK_EXECUTION",
"executor": {
"name": "InviteExecutor",
"mode": "verify",
"inputs": [
{
"identifier": "inviteToken",
"type": "HIDDEN",
"required": true
}
]
},
"onSuccess": "provisioning",
"onFailure": "end"
}

Failure conditions:

  • Stored invite token not found (Generate Invite did not run)
  • User-provided token does not match stored token
  • Token validation error

Invitation flows: The Sharing and Role executors run in invitation flows. To start and build one, see Build and configure an invitation flow in Build a Flow. Share also runs in sign-in and registration flows.

Property values of the Sharing and Role executors resolve from the flow's runtime data only. A {{ctx(key)}} placeholder in them never reads a user input, and one that does not resolve fails the flow.

Validate Share

Authorizes sharing a resource into a child OU as the admin who started the flow, and records what it authorized. It writes nothing.

When to use: In the admin's part of an invitation flow, before the invite is sent.

Prerequisites: The user ID in runtime data for an existing user (set by the Identifying executor), or the user type's OU for a new one (set by User Type Resolver).

How it works:

  1. Refuses a caller other than the one who started the flow, or a step sent without that caller's access token
  2. Checks that the target OU is a direct child of the OU that owns the resource, or of owningOuId for a user the flow creates later
  3. Checks that the caller may create users in the target OU
  4. Records the authorized resource type and target OU for Share to read

Executor properties:

PropertyUI LabelRequiredDefaultDescription
resourceTypeResource typeYes-Type of resource to share. user is the only type shared this way
resourceIdResource IDNo-Resource to share. Leave it out for a user the flow creates on acceptance
owningOuIdOwning organization unitNo-OU that owns a resource the flow creates on acceptance
targetOuIdTarget organization unitYes-OU to share into

Example:

{
"id": "validate_existing",
"type": "TASK_EXECUTION",
"properties": {
"resourceType": "user",
"resourceId": "{{ctx(userID)}}",
"targetOuId": "{{ctx(ouId)}}"
},
"executor": {
"name": "SharingExecutor",
"mode": "validate"
},
"onSuccess": "select_roles_existing",
"onFailure": "prompt_email"
}

Failure conditions:

  • The caller is not the one who started the flow (FET-1136)
  • The target OU is not a direct child of the owning OU
  • The caller may not create users in the target OU
Share

Applies a share on the authority of the OU that owns the resource. In an invitation flow it applies the share Validate Share authorized. In a sign-in or registration flow it shares what its properties name. Nobody started such a flow to authorize the share as, so it checks no caller: name only the user the flow just provisioned, as in the example.

When to use:

  • In the invitee's part of an invitation flow, after the invitee accepts.
  • In a sign-up that creates an organization and keeps the user in the user type's OU, after Provisioning with provisioningOU set to userType. The user can then be shared into other organizations too, which a user owned by one organization cannot.

Prerequisites:

  • In an invitation flow, a Validate Share step in the same flow for the same resource type and target OU.
  • In a sign-in or registration flow, none. Place it right after Provisioning and set resourceId to {{ctx(userID)}}, so it shares the user the flow just created. Placed after a step that identifies an existing account, it would share that account instead.

How it works:

  1. In an invitation flow, refuses unless runtime data holds the share Validate Share recorded for the same resource type and target OU
  2. Adds the target OU to the owner's sharing policy for the resource, creating the policy when there is none
  3. Leaves a resource the target OU already sees as it is

Executor properties: resourceType, resourceId, and targetOuId, as for Validate Share. resourceId is required in this mode.

Example: sharing a new user into the organization they created at sign-up.

{
"id": "share_user",
"type": "TASK_EXECUTION",
"properties": {
"resourceType": "user",
"resourceId": "{{ctx(userID)}}",
"targetOuId": "{{ctx(ouId)}}"
},
"executor": {
"name": "SharingExecutor",
"mode": "share"
},
"onSuccess": "auth_assert"
}

Failure conditions:

  • No matching share was authorized earlier in the invitation flow (FET-1137)
  • The target OU is not a direct child of the OU that owns the resource
  • The owner's sharing policy reaches its child OUs as a whole and leaves the target OU out
Select Roles

Prompts the admin for the roles to assign, and records them with the admin's identity. This is the role_selection mode of the Role executor, which runs only in invitation flows. The Role executor also makes the role changes of administration flows. A Role node must name its mode: saving the flow refuses one that does not.

When to use: In the admin's part of an invitation flow, after Validate Share.

Prerequisites: None.

How it works:

  1. Lists the roles the admin can assign in the flow's OU: roles the OU owns, and roles shared with it whose assignments it may change, limited to the roles the admin may grant
  2. With the roles property set, takes those roles without prompting, and fails with FET-1133 if the admin cannot assign one of them. A submitted roles input is ignored
  3. Otherwise prompts for a roles input of type ROLE_SELECT. The response carries the role IDs and names, as JSON, in data.additionalData.roleOptions
  4. Prompts again with FET-1133 when a submitted role is not in the list
  5. Records the selected roles and the admin's subject, OU, and permissions

Without the roles property and with no role the admin can assign, it completes without recording roles.

Executor properties:

PropertyUI LabelRequiredDefaultDescription
rolesRolesNo-IDs of the roles to assign, separated by spaces. When set, the admin is not asked to pick roles

Example:

{
"id": "select_roles_existing",
"type": "TASK_EXECUTION",
"executor": {
"name": "RoleExecutor",
"mode": "role_selection"
},
"onSuccess": "invite_generate_existing",
"onIncomplete": "prompt_roles_existing"
}

Failure conditions:

  • The caller is not the one who started the flow (FET-1136)
Assign Roles

Assigns the roles Select Roles recorded to the user in the flow's OU, as the recorded admin. The role service checks each assignment as that admin. This is the role_assignment mode of the Role executor, which runs only in invitation flows.

When to use: In the invitee's part of an invitation flow, after Share.

Prerequisites: Select Roles earlier in the same flow. With nothing recorded, it completes without assigning.

How it works:

  1. Reads the recorded roles and admin from runtime data, never from user inputs
  2. Keeps the permissions the admin's token carried when they selected the roles that the admin still holds. A permission revoked since then, or a scope no resource server holds, such as openid, is left out
  3. Assigns each role to the user in the flow's OU, as the admin with the permissions kept, which the role service checks each assignment against
  4. Assigns every role or none. When an assignment is refused, none is assigned and the share stays in place

Example:

{
"id": "assign_roles",
"type": "TASK_EXECUTION",
"executor": {
"name": "RoleExecutor",
"mode": "role_assignment"
},
"onSuccess": "joined",
"onFailure": "joined_without_roles"
}

Failure conditions:

  • Roles are recorded without the admin who selected them (FET-1134)
  • The admin holds none of the permissions they selected the roles with, or no longer exists (FET-1134)
  • A role cannot be assigned (FET-1134)

Advanced Integration​

HTTP Request

Executes an HTTP request to an external endpoint, optionally retries on failure, maps response data for downstream executors, and continues the flow.

When to use:

  • Webhook integration: Notify external systems when a user registers
  • Data enrichment: Call an external service to fetch additional user attributes
  • Policy evaluation: Check an external policy engine before allowing flow continuation
  • Custom business logic: Delegate decision-making to a specialized service

Prerequisites: None. Any context data referenced via {{ctx(fieldName)}} placeholders in the URL, headers, or body must be available from prior executors at runtime.

Input Configuration: This executor is entirely configuration-driven; all settings are node properties.

How it works:

  1. Parses HTTP configuration from node properties (URL, method, headers, body, timeout)
  2. Resolves {{ctx(fieldName)}} placeholders in the URL, headers, and body using runtime data and user inputs from prior executors
  3. Sends the HTTP request with optional retry logic based on errorHandling config
  4. Maps response fields for downstream use based on responseMapping configuration
  5. Continues the flow (or fails based on error handling configuration)

Executor properties:

PropertyUI LabelRequiredDefaultDescription
urlURLYes-The endpoint URL (supports placeholders like {{ctx(userId)}})
methodMethodNoGETHTTP method: GET, POST, PUT, DELETE, or PATCH
headersHeadersNo-HTTP headers as a map of strings
bodyRequest BodyNo-Request body (JSON object, only for POST/PUT/PATCH)
timeoutTimeout (seconds)No10sRequest timeout in seconds (max 20s)
responseMappingResponse MappingNo-Map response JSON fields for downstream executor use
errorHandling.failOnErrorFail on ErrorNofalseWhether HTTP error status codes cause flow failure
errorHandling.retryCountRetry CountNo0Number of retries on failure (max 5)
errorHandling.retryDelayRetry Delay (ms)No0Delay between retries in milliseconds (max 5000ms)

Placeholder syntax: Use {{ctx(fieldName)}} to reference data from the flow context. Placeholders are resolved from runtime data first, then user inputs. If a placeholder cannot be resolved, it is kept as-is in the request.

The following fields are always available when the corresponding data exists in the flow context:

PlaceholderSourceDescription
{{ctx(userId)}}Authenticated user or runtime dataThe authenticated user's ID. Available after any authentication or provisioning executor has run.
{{ctx(ouId)}}Authenticated user or runtime dataThe organizational unit ID of the current user. Available after OU resolution or authentication.
{{ctx(ouHandle)}}OU service lookupThe handle of the resolved OU. Fetched automatically when referenced.
{{ctx(ouName)}}OU service lookupThe display name of the resolved OU. Fetched automatically when referenced.
{{ctx(ouDescription)}}OU service lookupThe description of the resolved OU. Fetched automatically when referenced.
{{ctx(clientId)}}OAuth flow contextThe OAuth client ID of the application initiating the flow. Available in OAuth/OIDC authorization flows.

In addition to these fields, any value present in runtime data (set by prior executors) or user inputs (collected from prior Views) can be referenced using the same {{ctx(fieldName)}} syntax (e.g., {{ctx(email)}}, {{ctx(username)}}).

Request parameter syntax: Use {{request(...)}} to reference headers and query parameters from the HTTP request associated with the flow. This is useful for publishing request metadata (host, user agent, tracking parameters) to external endpoints. The selector is [source.]type.name:

  • source is init (the request that initiated the flow, e.g. the OAuth2 /authorize call for redirect-based flows) or current (the current flow step request). When omitted, current is used, so {{request(header.X)}} is equivalent to {{request(current.header.X)}}. The init request is captured only for redirect-based flows (authorize, logout, CIBA); app-native flows (direct /flow/execute) have no init request.
  • type is header or query.
  • name is the header or query parameter name. Header lookups are case-insensitive; query parameter lookups are case-sensitive. When a header or query parameter has multiple values, the first is used.
PlaceholderDescription
{{request(header.User-Agent)}}The User-Agent header from the current flow step request (source omitted → current).
{{request(current.header.User-Agent)}}The User-Agent header from the current flow step request.
{{request(init.query.utm_source)}}The utm_source query parameter from the flow-initiation request.

Credential-bearing data is stripped at capture and is never available through this syntax: the headers Authorization, Cookie, Set-Cookie, Proxy-Authorization, Flow-Secret, and Attestation-Token, and the client-credential query parameters client_secret, client_assertion, and client_assertion_type. If a request, header, or query parameter is not present, or the selector is malformed (for example {{request(header)}} with no name, or {{request(notaselector)}}), the placeholder is kept as-is.

Failure conditions:

  • URL not configured or invalid
  • HTTP request timeout
  • HTTP error status code (4xx, 5xx) when failOnError: true
  • Retries exhausted
  • Response body cannot be parsed as JSON
  • Response mapping references non-existent fields

Example:

{
"id": "publish_ou_event",
"type": "TASK_EXECUTION",
"properties": {
"url": "<webhook-url>",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": {
"event": "OU_CREATED",
"ouName": "{{ctx(ouName)}}",
"ouId": "{{ctx(ouId)}}",
"ouHandle": "{{ctx(ouHandle)}}"
},
"timeout": 5,
"responseMapping": {
"externalRef": "response.data.referenceId",
"statusCode": "response.status"
},
"errorHandling": {
"failOnError": false,
"retryCount": 2,
"retryDelay": 1000
}
},
"executor": {
"name": "HTTPRequestExecutor"
},
"onSuccess": "next_step",
"onFailure": "end"
}

Verifiable Credentials​

OpenID4VP Verify

Initiates an OpenID4VP presentation request and, on each subsequent poll, checks whether the user's wallet has responded with a verified credential. The executor handles the full initiate-and-poll lifecycle: on first execution it generates a QR code and deep link; on each re-entry it checks the request state until the credential is verified or the request expires.

When to use: Any authentication flow that accepts a credential from a digital wallet (for example, an EUDI Wallet Personal Identification Data presentation). Place this executor in a TASK EXECUTION node and route its onIncomplete path to a View that renders the QR code and polls back.

Prerequisites:

  • The OpenID4VP service must be configured in Choreo Identity & Access Management with at least one presentation definition (see the OpenID4VP protocol guide).
  • A certificate-backed signing key and an ephemeral encryption key must be registered in the key store.

View pairing: Use the EUDI Wallet widget (or manually pair with a custom View that renders openid4vpWalletUri as a QR code). The View must post back to the same TASK EXECUTION node to trigger the poll step.

Executor properties:

PropertyUI LabelRequiredDefaultDescription
presentation_definition_idPresentation DefinitionNoeudi-pidThe identifier of the presentation definition to request. Must match a definition registered in the server configuration.
allowAuthenticationWithoutLocalUserAllow Auth Without Local UserNofalseWhen true in an authentication flow, sets the userEligibleForProvisioning runtime flag on completion so a downstream Provisioning executor can create the account.

Input Configuration: None. The executor generates the request internally; no user inputs are required.

How it works:

  1. On first execution (no state in runtime data): calls the OpenID4VP service to initiate a new request. Sets runtime data with the request state and surfaces the following additional data:

    • openid4vpWalletUri: the openid4vp:// authorization URI for the wallet (QR code target or deep link)
    • openid4vpClientId: the verifier's client_id
    • openid4vpRequestUri: the signed request object URI Returns INCOMPLETE so the flow pauses at the View node.
  2. On subsequent executions (state present in runtime data): polls the request state. Returns INCOMPLETE again (re-emitting the QR data) if the wallet has not yet responded; completes the flow if the credential is verified; fails the flow if verification fails or the request expires.

  3. On completion: sets AuthenticatedUser with the verified holder's subject and all selectively disclosed credential claims. If an existing local account matches the disclosed attributes, AuthenticatedUser.UserID is populated automatically. When allowAuthenticationWithoutLocalUser is true, the userEligibleForProvisioning runtime flag is set so a downstream Provisioning executor can create the account.

Example:

{
"id": "eudi_verify",
"type": "TASK_EXECUTION",
"properties": {
"presentation_definition_id": "eudi-pid"
},
"executor": {
"name": "OpenID4VPVerifyExecutor"
},
"onSuccess": "auth_assert",
"onFailure": "end",
"onIncomplete": "eudi_wait_view"
}

Failure conditions:

  • OpenID4VP service not configured in the server
  • Presentation definition ID not registered
  • Request expired before the wallet responded (state TTL elapsed)
  • Wallet presented an untrusted credential (issuer not in the trust store)
  • Credential signature or key binding verification failed
  • Mandatory claim missing from the presentation
  • Wallet disclosed a claim that was not in the requested claims list

Token Issuance​

Auth Assertion Generator

Generates the final authentication assertion, a signed JWT, that Choreo Identity & Access Management returns to the client on successful flow completion. This must be the last executor before every END node in an authentication flow.

When to use: Every authentication flow, immediately before the END node. This is the final step that returns the signed JWT to the client. Do not place in registration-only or recovery-only flows unless those flows also complete with a sign-in.

Prerequisites:

  • An authenticated user must be present in the flow context: at least one authentication executor (Identifier + Password, OAuth, OIDC, SMS OTP, Passkey, Magic Link, etc.) must have set isAuthenticated: true. The executor hard-fails if no authenticated user is present.
  • Application assertion settings must be configured in Console (assertion lifetime, user attributes to include, etc.).

How the assertion is built:

  • Subject (sub): Set to the authenticated user's ID.
  • Audience (aud): Set to the application (entity) ID.
  • Assurance: Extracted from the flow execution history. Lists which authenticators ran, in which step, and at what time.
  • Authorized permissions: Included if the Authorization executor ran.
  • User attributes: Resolved from the following sources in priority order: consented attributes (if User Consent ran) → essential/optional attribute lists from application configuration → application assertion configuration. Computed attributes (groups, roles, userTypeHandle, userTypeName, ouId, ouName, ouHandle) are derived at assertion time and included only if configured.
  • Token lifetime: Uses the application's assertion validity period; falls back to the system JWT default.

Input Configuration: None. This executor operates entirely on runtime context; it has no configurable node input defaults.

Outputs:

  • Signed JWT assertion returned to the client

Example:

{
"id": "auth_assert",
"type": "TASK_EXECUTION",
"executor": {
"name": "AuthAssertExecutor"
},
"onSuccess": "end"
}

Failure conditions:

  • No authenticated user present (no authentication executor ran)
  • JWT signing failure (key configuration error)
  • User attribute or group resolution error

Utility​

Validate Attribute Uniqueness

Checks that unique schema attributes supplied in user inputs are not already held by an existing user. If a conflict is detected, the user is prompted to change the value.

When to use: After a form View that collects unique attributes (email, username, phone, etc.), before any creation executor. Early detection prevents conflicts at provisioning time.

Prerequisites:

  • userType (required): must be present in runtime data. Set by User Type Resolver. The executor reads the unique attribute schema from this user type.

View pairing: Pair with a Blank View that collects the unique attributes (email, username, phone, etc.).

How it works:

  1. Reads the user type resolved by User Type Resolver
  2. Fetches the unique attributes defined in that user type's schema
  3. Checks each unique attribute value provided in user inputs
  4. Queries the user store to see if any other user already holds that value
  5. Prompts the user to correct the conflicting attribute if a conflict is found
  6. Returns COMPLETE if all values are free to use

Input Configuration: None. This executor validates the unique-attribute values that are already present in user inputs; it has no registered node input defaults.

Example:

{
"id": "check_uniqueness",
"type": "TASK_EXECUTION",
"executor": {
"name": "AttributeUniquenessValidator"
},
"onSuccess": "provisioning",
"onIncomplete": "attr_form"
}

Failure conditions:

  • userType not available (User Type Resolver did not run)
  • User type schema not found
  • User store lookup error

Executor Validation Rules​

When you create or update a flow definition, Choreo Identity & Access Management validates every TASK_EXECUTION node against the executor it references. These checks run before the flow is persisted and prevent misconfigurations from reaching runtime. A validation failure returns an error describing the node and the rule that was violated.

The following rules are enforced for each executor node:

Mode validation: If the node specifies an executor mode, the server checks that the mode is one of the values the executor supports. For example, OTPExecutor supports "generate" and "verify"; configuring "mode": "send" on an OTPExecutor node fails validation. When the node omits the mode field, the executor's default mode is used; an executor that supports modes but has no default, such as IdentityGovernanceExecutor, fails validation. When the executor does not restrict modes, no check is performed.

Flow type validation: Some executors are restricted to specific flow types. For example, an executor that is only valid in registration flows will cause a validation error if referenced in an authentication flow definition. When the executor does not restrict flow types, the node is accepted in any flow type. Some executors restrict a mode further: IdentityGovernanceExecutor runs in administration and recovery flows, but accepts suspend and unsuspend only in administration flows.

Required properties validation: Certain executors require specific keys in the node's properties map. For example, federated authentication executors require an idpId property. If a required property is missing or empty, the server rejects the flow definition with an error identifying the missing property.

tip

Each executor's supported modes, flow type restrictions, and required properties are listed in the Executor Details and Configuration section above. Refer to the individual executor entries for the exact values.

Input Validation Rules​

Input components can declare a validation array that the server enforces when the user submits the form. The server evaluates these rules after the required-input presence check and before the View advances to the next node.

The validation array attaches to two places in the flow definition:

  • meta.components[].validation - returned in the verbose flow execution response embedded inside meta so that clients can optionally pre-validate values before submission.
  • prompts[].inputs[].validation - the authoritative copy that the server evaluates on each submission and that API-only clients receive in the prompt response.

Each rule is a single-constraint object with a discriminated type field:

typevalue TypeBehavior
regexstringThe submitted value must match the regex pattern. The server uses a regex engine that guarantees linear-time matching.
minLengthintegerThe submitted value must contain at least value Unicode code points. The server counts code points rather than bytes so multibyte characters count as one.
maxLengthintegerThe submitted value must contain at most value Unicode code points.

Each rule may set a message field that the server returns as is in data.fieldErrors when the rule fails. The message field accepts a literal string or an i18n key such as {{i18n(validation:email.invalid)}}. The server does not resolve i18n keys; the client renders them. When message is absent, the server returns a default key for the rule type: validation.pattern.invalid, validation.minLength.invalid, or validation.maxLength.invalid.

Example: Phone Input with validation rules
{
"id": "input_phone",
"type": "PHONE_INPUT",
"category": "FIELD",
"required": true,
"validation": [
{
"type": "regex",
"value": "^[0-9]{10}$",
"message": "{{i18n(validation:phone.pattern.invalid)}}"
},
{
"type": "maxLength",
"value": 10,
"message": "{{i18n(validation:phone.maxLength.invalid)}}"
}
],
"resourceType": "ELEMENT"
}

When one or more rules fail on a submission, the server returns flowStatus: INCOMPLETE with a data.fieldErrors array. Each failing rule produces a separate entry that pairs the input identifier with the rule's message. The server clears the failing inputs from the submission and re-presents the same step. The response returns the full inputs and actions arrays so the client can re-render the original form alongside the errors. The user then resubmits corrected values.

Example: Validation failure response (abbreviated)
{
"flowStatus": "INCOMPLETE",
"type": "VIEW",
"data": {
"inputs": [
{ "ref": "input_username", "identifier": "username", "type": "TEXT_INPUT", "required": true, "validation": [ /* ... */ ] },
{ "ref": "input_password", "identifier": "password", "type": "PASSWORD_INPUT", "required": true, "validation": [ /* ... */ ] }
],
"actions": [ { "ref": "action_submit", "nextNode": "node_bs12" } ],
"fieldErrors": [
{ "identifier": "username", "message": "{{i18n(validation:email.invalid)}}" },
{ "identifier": "password", "message": "{{i18n(validation:password.minLength.invalid)}}" }
]
}
}

Default and Constant Input Values​

An input can carry a value from the flow definition. Set defaultValue on an input in the inputs of a TASK EXECUTION node or on an input of a PROMPT node. Set constant on an executor input only. Each node applies only its own inputs, so set the properties on every node that needs the value.

PropertyTypeDescription
defaultValuestringValue the flow supplies when it has no value for the input. For a constant input, the fixed value. Write it as a string: in JSON, quote a boolean or number, as in "true".
constantbooleanWhen true, the node always supplies defaultValue, even when a value already exists. Requires a non-empty defaultValue. Executor inputs only.
SettingExecutor inputPrompt input
defaultValueBefore the executor starts, the node supplies defaultValue when the flow has no non-empty value for the input from a submission, an earlier executor, or an external identity provider claim. An existing value is kept, so the first node that supplies a value wins.The prompt asks for the input and returns it as the input's defaultValue, and as the value of the field's meta component when the request sets verbose. Nothing is stored while the prompt is shown, so a refresh asks again. When the request selects the prompt's action and the input is empty or missing, the input takes defaultValue, so a person cannot clear it. When a value already exists, the prompt does not ask.
defaultValue and constant: trueBefore the executor starts, the node supplies defaultValue and replaces any existing value. This happens each time the node runs, so when several nodes hold the same input constant, the last one to run wins.Not supported.

A client cannot set a constant. The server ignores a submitted value for an input that an executor node holds constant, unless another executor node lists the same input without constant. This covers the inputs a flow starts with as well as each later submission.

note

A constant only changes the value the executor reads from its inputs. Provisioning takes the organization unit, the entity type, and the owner of an agent from the output of earlier executors, so a constant for any of them on the Provisioning node has no effect.

warning

A client shows a prompt default only if it reads defaultValue or the meta component's value. The pages Choreo Identity & Access Management hosts for sign-in, sign-up, and recovery, the Console onboarding pages, and the SDK components read neither, so they show the field empty. The default still applies when the person submits the field empty or leaves it out, so a person can end up with a value the screen never showed.

Example

{
"id": "provision-student",
"type": "TASK_EXECUTION",
"executor": {
"name": "ProvisioningExecutor",
"inputs": [
{
"identifier": "department",
"type": "TEXT_INPUT",
"required": false,
"defaultValue": "Computer Science"
},
{
"identifier": "faculty",
"type": "TEXT_INPUT",
"required": false,
"defaultValue": "Engineering",
"constant": true
}
]
},
"onSuccess": "end"
}

The department is Computer Science only when no value exists. The faculty is always Engineering, whatever value was supplied earlier.

Validation when a flow is saved

The server applies these checks whenever a flow is saved. A flow that breaks one is refused as an invalid input configuration.

InputRule
Prompt inputconstant is rejected, with or without a defaultValue.
Prompt input that an executor holds constantThe flow is rejected when a prompt lists an input that an executor node anywhere in the flow sets as constant.
Executor inputconstant: true requires a non-empty defaultValue.
PASSWORD_INPUT, OTP_INPUTdefaultValue and constant are both rejected.
BOOLEAN_INPUTThe defaultValue must read as a boolean. Use true or false.
NUMBER_INPUTThe defaultValue must be a number.
Prompt input with validation rulesThe defaultValue must satisfy every rule (regex, minLength, maxLength), so the person does not get a field error for a value they never typed. See Input Validation Rules.
Any other typeThe defaultValue is not checked. For example, the server does not check that an EMAIL_INPUT default is an email address or that a SELECT default is one of its options.
Any input, against the user type schemaThe defaultValue is not checked against the schema of the user type, such as its regex or enum, because the user type is chosen when the flow runs. Provisioning applies the schema when it creates the user, and a value that fails it prevents the user from being created.
warning

The values are saved and exported with the flow definition. Do not use them for passwords, tokens, or other secrets.

In the Flow Builder

Each input in the executor's properties panel has a Default value field and a Constant checkbox. For a BOOLEAN_INPUT, pick the default from Not set, True, and False instead of typing it. Select Constant to make the default value mandatory. A constant without a default value marks the executor as not properly configured, and a screen field that asks for an input an executor holds constant is marked as an error. The flow cannot be saved until each one is fixed. The panel does not show these controls for Password and OTP inputs.

The builder has no setting for the default of a prompt input. When a prompt input other than a Password or OTP input already has a defaultValue, saving the flow in the builder keeps it, as long as the input's ref is the id of its field's meta component.

ACR Values in Flows​

Use the acr_values parameter in an authorization request to specify which authentication methods are acceptable for the session.

GET /oauth2/authorize
?response_type=code
&client_id=<client-id>
&redirect_uri=https%3A%2F%2Fapp.example.com%2Fcallback
&scope=openid%20profile
&acr_values=urn%3Athunder%3Aacr%3Agold
&state=abc123
&nonce=xyz789

ACR filtering only takes effect when the flow contains a LOGIN_OPTIONS PROMPT node with authMethodMapping configured. Without it, acr_values have no effect on the flow.

Using acr_values with the LOGIN_OPTIONS node

Map each ACR string to an action ref in the authMethodMapping property. When the authorization request includes acr_values, Choreo Identity & Access Management uses those values as the resolved keys to filter the node's actions:

"authMethodMapping": {
"urn:thunder:acr:silver": "action-password",
"urn:thunder:acr:gold": "action-otp"
}

When the user selects a gated action, the matched ACR string is included as the acr claim in the issued ID token.

Default Behavior​

  • acr_values sent: Only actions whose mapped key matches a requested ACR value are shown. Unmapped actions are always shown. If there is no match, all actions are shown as a fallback.
  • acr_values not sent: All actions are shown.

Interceptors​

Interceptors are cross-cutting operations that execute at defined lifecycle points around each flow request. They are declared at the flow level, not on individual nodes, and run automatically based on their mode and scope.

Declaration​

A flow declares its configurable interceptors in an interceptors array at the top level of its definition. The Flow Builder has no setting for interceptors, so the Console cannot add or change them.

{
"handle": "my-login-flow",
"name": "My Login Flow",
"flowType": "AUTHENTICATION",
"interceptors": [
{
"name": "CaptchaInterceptor",
"mode": "PRE_REQUEST",
"scope": "SELECTED",
"applyTo": ["login-screen"],
"properties": {
"siteKey": "abc123"
}
}
],
"nodes": [...]
}

A flow without the array, or with an empty one, has no configurable interceptors.

Fields​

FieldRequiredDescription
nameYesName of the interceptor as registered in the interceptor registry.
modeYesLifecycle point at which the interceptor runs. See Modes.
scopeNoDetermines which nodes the interceptor applies to for per-node modes. Defaults to ALL.
applyToNoList of node IDs the interceptor applies to. Only used when scope is SELECTED.
propertiesNoInterceptor-specific configuration as a key-value map.

Interceptor Modes​

ModeWhen it runs
PRE_REQUESTBefore the flow processes the incoming request, once per request cycle.
PRE_NODEBefore a specific node executes.
POST_NODEAfter a specific node executes.
POST_REQUESTAfter the flow has produced its response, once per request cycle.

Scope​

scope controls which nodes a PRE_NODE or POST_NODE interceptor applies to. It has no effect on PRE_REQUEST and POST_REQUEST interceptors.

ScopeBehavior
ALLRuns for every node, unless the node's skipInterceptors property lists this interceptor by name.
SELECTEDRuns only for the node IDs listed in applyTo.

To exclude an ALL-scoped interceptor from a specific node, add a skipInterceptors entry in that node's properties:

{
"id": "skip-node",
"type": "TASK_EXECUTION",
"properties": {
"skipInterceptors": ["CaptchaInterceptor"]
},
...
}

Built-in Interceptors​

Some interceptors are always active and cannot be declared in the flow definition. They run at system-level priority before any configurable interceptors.

Challenge Token: Active on every flow. On POST_REQUEST, generates a per-step challenge token and includes it in the flow step response under the challengeToken field. On PRE_REQUEST, validates the token submitted with the incoming request to prevent replay and out-of-order submissions. Validation is skipped on the first request of a new flow instance (no prior token issued yet) and when the engine permits a segment restart. The Choreo Identity & Access Management JavaScript SDK reads and forwards the challenge token transparently: no client-side handling is required.

Try Out​

  • Build a Flow: Step-by-step guide to creating a flow in the Choreo Identity & Access Management Console.

Was this page helpful?