This example illustrates how to use the Okta SDK in your Sym Flow implementation.
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"
}
...
}
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.
Refer to the Okta SDK docs for more info.
This workflow is just one example of how Sym Implementers use the Sym SDK to create Sym Flows.