This repository has been archived by the owner on Jun 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #249 from articulate/feature/app_group_assignment
okta_app_user and okta_app_group_assignment
- Loading branch information
Showing
60 changed files
with
654 additions
and
678 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# okta_app_auto_login | ||
|
||
Resource for managing Auto Login Okta Applications. [See Okta documentation for more details](https://developer.okta.com/docs/api/resources/apps). | ||
|
||
* Simple example [can be found here](./basic.tf) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resource okta_app_auto_login test { | ||
label = "testAcc_replace_with_uuid" | ||
sign_on_url = "https://example.com/login.html" | ||
sign_on_redirect_url = "https://example.com" | ||
reveal_password = true | ||
credentials_scheme = "EDIT_USERNAME_AND_PASSWORD" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
resource okta_app_auto_login test { | ||
label = "testAcc_replace_with_uuid" | ||
status = "INACTIVE" | ||
sign_on_url = "https://exampleupdate.com/login.html" | ||
sign_on_redirect_url = "https://exampleupdate.com" | ||
reveal_password = false | ||
credentials_scheme = "SHARED_USERNAME_AND_PASSWORD" | ||
shared_username = "sharedusername" | ||
shared_password = "sharedpassword" | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
resource okta_app_oauth test { | ||
label = "testAcc_replace_with_uuid" | ||
type = "web" | ||
grant_types = ["implicit", "authorization_code"] | ||
redirect_uris = ["http://d.com/"] | ||
response_types = ["code", "token", "id_token"] | ||
issuer_mode = "ORG_URL" | ||
|
||
lifecycle { | ||
ignore_changes = ["users", "groups"] | ||
} | ||
} | ||
|
||
resource okta_group test { | ||
name = "testAcc_replace_with_uuid" | ||
} | ||
|
||
resource okta_app_group_assignment test { | ||
app_id = "${okta_app_oauth.test.id}" | ||
group_id = "${okta_group.test.id}" | ||
} |
File renamed without changes.
This file contains 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
21 changes: 0 additions & 21 deletions
21
examples/okta_app_oauth/oauth_app_remove_groups_and_users.tf
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
examples/okta_app_saml/custom_saml_app.tf → examples/okta_app_saml/basic.tf
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
.../okta_app_saml/custom_saml_app_updated.tf → examples/okta_app_saml/inactive.tf
This file contains 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
2 changes: 1 addition & 1 deletion
2
...ta_app_saml/custom_saml_app_all_fields.tf → examples/okta_app_saml/updated.tf
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# okta_app_secure_password_store | ||
|
||
Resource for managing Secure Password Store Okta Applications. [See Okta documentation for more details](https://developer.okta.com/docs/api/resources/apps). | ||
|
||
* Simple example [can be found here](./basic.tf) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resource okta_app_secure_password_store test { | ||
label = "testAcc_replace_with_uuid" | ||
username_field = "user" | ||
password_field = "pass" | ||
url = "http://test.com" | ||
credentials_scheme = "ADMIN_SETS_CREDENTIALS" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource okta_app_secure_password_store test { | ||
label = "testAcc_replace_with_uuid" | ||
status = "INACTIVE" | ||
username_field = "user" | ||
password_field = "pass" | ||
url = "http://test.com" | ||
credentials_scheme = "EXTERNAL_PASSWORD_SYNC" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# okta_app_swa | ||
|
||
This resource represents an Okta SWA Application in various configuration states. For more information see the [API docs](https://developer.okta.com/docs/api/resources/apps#add-custom-swa-application) | ||
|
||
* Example of a custom SWA app [can be found here](./custom.tf) | ||
* Example of a preconfigured SWA app [can be found here](./preconfig.tf) | ||
|
||
## Preconfigured Applications | ||
|
||
There are some configuration options that cannot be configured on certain "preconfigured" OAuth applications due to limitations in the Okta API. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
resource okta_app_swa test { | ||
label = "testAcc_replace_with_uuid" | ||
button_field = "btn-login" | ||
password_field = "txtbox-password" | ||
username_field = "txtbox-username" | ||
url = "https://example.com/login.html" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource okta_app_swa test { | ||
label = "testAcc_replace_with_uuid" | ||
status = "INACTIVE" | ||
button_field = "btn-login-updated" | ||
password_field = "txtbox-password-updated" | ||
username_field = "txtbox-username-updated" | ||
url = "https://example.com/login-updated.html" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource okta_app_swa test { | ||
preconfigured_app = "aws_console" | ||
label = "testAcc_replace_with_uuid" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resource okta_app_swa test { | ||
preconfigured_app = "aws_console" | ||
label = "testAcc_replace_with_uuid" | ||
status = "INACTIVE" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# okta_app_three_field | ||
|
||
Resource for managing Three Field Okta Applications. [See Okta documentation for more details](https://developer.okta.com/docs/api/resources/apps). | ||
|
||
* Simple example [can be found here](./basic.tf) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource okta_app_three_field test { | ||
label = "testAcc_replace_with_uuid" | ||
button_selector = "btn" | ||
username_selector = "user" | ||
password_selector = "pass" | ||
url = "http://example.com" | ||
extra_field_selector = "third" | ||
extra_field_value = "third" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
resource okta_app_three_field test { | ||
label = "testAcc_replace_with_uuid" | ||
status = "INACTIVE" | ||
button_selector = "btn1" | ||
username_selector = "user1" | ||
password_selector = "pass1" | ||
url = "http://example.com" | ||
extra_field_selector = "mfa" | ||
extra_field_value = "mfa" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
resource okta_app_oauth test { | ||
label = "testAcc_replace_with_uuid" | ||
type = "web" | ||
grant_types = ["implicit", "authorization_code"] | ||
redirect_uris = ["http://d.com/"] | ||
response_types = ["code", "token", "id_token"] | ||
issuer_mode = "ORG_URL" | ||
|
||
lifecycle { | ||
ignore_changes = ["users", "groups"] | ||
} | ||
} | ||
|
||
resource okta_user test { | ||
first_name = "TestAcc" | ||
last_name = "Smith" | ||
login = "[email protected]" | ||
email = "[email protected]" | ||
} | ||
|
||
resource okta_app_user test { | ||
app_id = "${okta_app_oauth.test.id}" | ||
user_id = "${okta_user.test.id}" | ||
username = "${okta_user.test.email}" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
resource okta_app_oauth test { | ||
label = "testAcc_replace_with_uuid" | ||
type = "web" | ||
grant_types = ["implicit", "authorization_code"] | ||
redirect_uris = ["http://d.com/"] | ||
response_types = ["code", "token", "id_token"] | ||
issuer_mode = "ORG_URL" | ||
|
||
lifecycle { | ||
ignore_changes = ["users", "groups"] | ||
} | ||
} | ||
|
||
resource okta_user test { | ||
first_name = "TestAcc" | ||
last_name = "Smith" | ||
login = "[email protected]" | ||
email = "[email protected]" | ||
} | ||
|
||
resource okta_app_user test { | ||
app_id = "${okta_app_oauth.test.id}" | ||
user_id = "${okta_user.test.id}" | ||
username = "testAcc_replace_with_uuid" | ||
} |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.