This application is represented by an OpenID Connect application in Okta, so we need to configure one. We'll use the Okta Terraform Provider to automate this process.
- Install terraform
(Optional) If you're more confortable manually configuring Okta, refer to the manual steps here. Otherwise follow instructions below.
-
Using the provided Makefile:
cd
to the/okta-dac
(root) folder (that contains the Makefile) and run:make okta
-
(Optional) Or, if you prefer not to use the Makefile, follow these steps.
cd
into the/terraform
folder- Setup the
tfvars
file per these instructions, then run terraform init && terraform plan -out=okta.setup.tfplan -lock=false
terraform apply -auto-approve okta.setup.tfplan
Terraform currently does not support granting Okta API Scopes. These are required for okta-dac to properly function.
- Login to your Org's Admin Console. Search for the
okta-dac
app - Navigate to the Okta API Scopes tab and Grant the following scopes:
okta.groups.manage
okta.users.manage