Assign User to Application

okta.assign_app_user
ActionBusiness appsconnection required

Calls the Okta API with the connection's credentials.

Assign a user directly to an app integration. Apps whose sign-on mode needs credentials also want an application username.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Okta
Secret shape
the API token, or {"api_token": "…"}
Config it needs
org_url
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
app_id
The Okta application id to act on.
stringYes——0oa1a2b3c4D5e6F7g8h9
user_id
The Okta user id to act on; this endpoint does not accept a login in place of the id.
stringYes——00u1a2b3c4D5e6F7g8h9
user_name
The username this user signs in to the application with.
stringNo———
credentials
The app credentials object, for apps that store a password per user. Reference a stored value with an expression rather than typing a secret.
objectNo—credential materialcredential
profile
Application-specific profile attributes for this assignment.
objectNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "app_id": "0oa1a2b3c4D5e6F7g8h9",
  "user_id": "00u1a2b3c4D5e6F7g8h9"
}

Output

One shape.

result

FieldTypeExample
id
The Okta user id of the assignment.
string—
scope
How the assignment was made; USER for a direct one.
string—
status
The assignment's status, such as PROVISIONED.
string—
created
When the assignment was made, as ISO 8601.
string—
credentials.userName
The username stored for this user in the application.
string—
{
  "created": "",
  "credentials": {
    "userName": ""
  },
  "id": "",
  "scope": "",
  "status": ""
}

See Assign User to Application run in a workflow.

In a technical demo we add the Okta connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.