younifyd
Menu

Create Authentication Flows

Create authentication flows

POST/admin/realms/{realm}/authentication/flows

Use it in a workflow

  1. Add a step and choose the Keycloak connector.
  2. Pick the Create Authentication Flows action (under Authentication Management).
  3. Fill in the fields below, then reference the result from later steps as {{createAuthenticationFlows.response.data}}.

Request

Path parameters

realmstringrequired

realm name (not id!)

Request body

Enter the body as JSON in the step's Body field.

idstring
aliasstring
descriptionstring
providerIdstring
topLevelboolean
builtInboolean
authenticationExecutionsarray<object>
authenticatorConfigstring
authenticatorstring
authenticatorFlowboolean
requirementstring
priorityinteger (int32)
autheticatorFlowboolean
flowAliasstring
userSetupAllowedboolean
json
{
  "id": "string",
  "alias": "string",
  "description": "string",
  "providerId": "string",
  "topLevel": false,
  "builtIn": false,
  "authenticationExecutions": [
    {
      "authenticatorConfig": "string",
      "authenticator": "string",
      "authenticatorFlow": false,
      "requirement": "string",
      "priority": 0,
      "autheticatorFlow": false,
      "flowAlias": "string",
      "userSetupAllowed": false
    }
  ]
}

Response

Returns 201 with a any. Read it in later steps with {{createAuthenticationFlows.response.data.<field>}}.

Need more? See the Keycloak guide for connection setup and behaviour shared by every action.