Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Latest commit

 

History

History

okta_sdk

Okta SDK

This example illustrates how to use the Okta SDK in your Sym Flow implementation.

Configuring the on_approve hook

The Flow implementation declares an on_approve hook that checks if the approving user is in a given Okta Group before allowing the approval to continue.

You need to specify a valid Okta Group ID in your flow_vars to complete the setup. See our docs for help on finding an Okta Group ID.

resource "sym_flow" "this" {
  ...
  vars = {
    approvers_group = "00g123456789"
  }
  ...
}

Using profile data

The Flow implementation routes requests to different channels depending on what department the requesting user is in. We access the department using the Sym Okta Integration's get_user_info API to get the user's Okta profile data.

More info

Refer to the Okta SDK docs for more info.

About Sym

This workflow is just one example of how Sym Implementers use the Sym SDK to create Sym Flows.