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.
custom_profile_attributes for OAuth apps
Adding fixtures for future tests New test using fixtures Add schema attribute to take custom profile attributes Include custom profile attributes when building app Moved test and removed some unnecessary checks Test custom_profile_attributes is empty Move custom_profile_attributes to Oauth schema
- Loading branch information
1 parent
0215a30
commit c91719f
Showing
5 changed files
with
105 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
resource "okta_app_oauth" "test" { | ||
label = "testAcc_replace_with_uuid" | ||
type = "web" | ||
grant_types = ["authorization_code"] | ||
redirect_uris = ["http://d.com/"] | ||
response_types = ["code"] | ||
client_basic_secret = "something_from_somewhere" | ||
custom_client_id = "something_from_somewhere" | ||
token_endpoint_auth_method = "client_secret_basic" | ||
|
||
custom_profile_attributes = <<JSON | ||
{ | ||
"customAttribute123": "testing-custom-attribute" | ||
} | ||
JSON | ||
} |
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,17 @@ | ||
resource "okta_app_oauth" "test" { | ||
label = "testAcc_replace_with_uuid" | ||
type = "web" | ||
grant_types = ["authorization_code"] | ||
redirect_uris = ["http://d.com/"] | ||
response_types = ["code"] | ||
client_basic_secret = "something_from_somewhere" | ||
custom_client_id = "something_from_somewhere" | ||
token_endpoint_auth_method = "client_secret_basic" | ||
|
||
custom_profile_attributes = <<JSON | ||
{ | ||
"array123": ["test"], | ||
"number123": 1 | ||
} | ||
JSON | ||
} |
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_oauth" "test" { | ||
label = "testAcc_replace_with_uuid" | ||
type = "web" | ||
grant_types = ["authorization_code"] | ||
redirect_uris = ["http://d.com/"] | ||
response_types = ["code"] | ||
client_basic_secret = "something_from_somewhere" | ||
custom_client_id = "something_from_somewhere" | ||
token_endpoint_auth_method = "client_secret_basic" | ||
} |
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