Created
January 28, 2021 22:11
-
-
Save MatthewJDavis/54f794ff60ed97c77f6ab3bd65067f3e to your computer and use it in GitHub Desktop.
Main terraform file for okta app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
okta = { | |
source = "oktadeveloper/okta" | |
version = "~> 3.6" | |
} | |
} | |
} | |
# Configure the Okta Provider - API token set in env var. | |
provider "okta" { | |
org_name = var.org_name | |
base_url = var.base_url | |
} | |
resource "okta_app_oauth" "sample_dotnet" { | |
label = "Sample DotNet" | |
type = "web" | |
consent_method = "REQUIRED" | |
login_uri = "https://localhost:5001/authorization-code/callback" | |
post_logout_redirect_uris = ["https://localhost:5001/signout-callback-oidc"] | |
redirect_uris = ["https://localhost:5001/signin-oidc"] | |
omit_secret = false | |
grant_types = ["authorization_code"] | |
response_types = ["code"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment