Okta · Arazzo Workflow

Okta Create and Activate Application

Version 1.0.0

Create an application in INACTIVE state and then activate it.

1 workflow 1 source API 1 provider
View Spec View on GitHub IdentityWorkforce IdentityCustomer IdentityAuthenticationAuthorizationSingle Sign-OnMulti-Factor AuthenticationIdentity GovernancePrivileged AccessAI AgentsCross-App AccessMCPPlatformArazzoWorkflows

Provider

okta

Workflows

create-and-activate-application
Create an application and activate it.
Creates an application with activate=false, then activates it through its lifecycle endpoint.
2 steps inputs: label, name, oktaApiToken, signOnMode outputs: appId
1
createApp
createApplication
Create the application in an INACTIVE state by passing activate=false.
2
activateApp
activateApplication
Activate the newly created application so it is available for use.

Source API Descriptions

Arazzo Workflow Specification

okta-create-and-activate-application-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Okta Create and Activate Application
  summary: Create an application in INACTIVE state and then activate it.
  description: >-
    Stands up a new application in Okta and brings it online. The workflow
    creates the application without activating it, then explicitly activates the
    application instance so it becomes available for assignment and sign-on. The
    new application id is chained from creation into the activation lifecycle
    call. Every step spells out its request inline, including the SSWS API token
    header, so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: oktaApi
  url: ../openapi/okta-openapi-original.yml
  type: openapi
workflows:
- workflowId: create-and-activate-application
  summary: Create an application and activate it.
  description: >-
    Creates an application with activate=false, then activates it through its
    lifecycle endpoint.
  inputs:
    type: object
    required:
    - oktaApiToken
    - label
    - signOnMode
    properties:
      oktaApiToken:
        type: string
        description: Okta API token used for the SSWS Authorization header.
      label:
        type: string
        description: The user-defined display name for the application.
      signOnMode:
        type: string
        description: The application sign-on mode (e.g. BOOKMARK, SAML_2_0, AUTO_LOGIN).
      name:
        type: string
        description: Optional unique key for the app definition (e.g. bookmark).
  steps:
  - stepId: createApp
    description: >-
      Create the application in an INACTIVE state by passing activate=false.
    operationId: createApplication
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    - name: activate
      in: query
      value: false
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.name
        label: $inputs.label
        signOnMode: $inputs.signOnMode
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      appId: $response.body#/id
      appStatus: $response.body#/status
  - stepId: activateApp
    description: >-
      Activate the newly created application so it is available for use.
    operationId: activateApplication
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    - name: appId
      in: path
      value: $steps.createApp.outputs.appId
    successCriteria:
    - condition: $statusCode == 200
  outputs:
    appId: $steps.createApp.outputs.appId