Skip to content

Commit

Permalink
add tests and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhav-google committed Aug 23, 2023
1 parent 73d26ed commit 1dc0224
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ resource "google_iam_workforce_pool_provider" "<%= ctx[:primary_resource_id] %>"
web_sso_config {
response_type = "CODE"
assertion_claims_behavior = "MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS"
additional_scopes = "groups"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "google_iam_workforce_pool_provider" "<%= ctx[:primary_resource_id] %>"
web_sso_config {
response_type = "CODE"
assertion_claims_behavior = "MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS"
additional_scopes = "groups"
additional_scopes = ["groups"]
}
}
display_name = "Display name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ resource "google_iam_workforce_pool_provider" "my_provider" {
web_sso_config {
response_type = "CODE"
assertion_claims_behavior = "MERGE_USER_INFO_OVER_ID_TOKEN_CLAIMS"
additional_scopes = ["groups"]
}
}
display_name = "Display name"
Expand Down Expand Up @@ -216,6 +217,7 @@ resource "google_iam_workforce_pool_provider" "my_provider" {
web_sso_config {
response_type = "ID_TOKEN"
assertion_claims_behavior = "ONLY_ID_TOKEN_CLAIMS"
additional_scopes = ["groups"]
}
}
display_name = "New Display name"
Expand Down Expand Up @@ -247,6 +249,7 @@ resource "google_iam_workforce_pool_provider" "my_provider" {
web_sso_config {
response_type = "ID_TOKEN"
assertion_claims_behavior = "ONLY_ID_TOKEN_CLAIMS"
additional_scopes = ["groups"]
}
}
display_name = "New Display name"
Expand Down

0 comments on commit 1dc0224

Please sign in to comment.