Skip to content

Commit

Permalink
fix: add new silva callback and signout urls
Browse files Browse the repository at this point in the history
  • Loading branch information
craigyu committed Nov 20, 2024
1 parent 0667a7e commit 3af9665
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions infrastructure/server/oidc_clients_silva.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@ resource "aws_cognito_user_pool_client" "test_silva_oidc_client" {
var.oidc_sso_playground_url,
"http://localhost:3000/dashboard",
"https://nr-silva-test-frontend.apps.silver.devops.gov.bc.ca/dashboard",
"https://nr-results-exam-test-frontend.apps.silver.devops.gov.bc.ca/dashboard"
"https://nr-results-exam-test-frontend.apps.silver.devops.gov.bc.ca/dashboard",
"https://silva-test.nrs.gov.bc.ca/dashboard"
]
logout_urls = [
var.oidc_sso_playground_url,
"${var.cognito_app_client_logout_chain_url.test}http://localhost:3000/",
"${var.cognito_app_client_logout_chain_url.test}https://nr-silva-test-frontend.apps.silver.devops.gov.bc.ca/",
"${var.cognito_app_client_logout_chain_url.test}https://nr-results-exam-test-frontend.apps.silver.devops.gov.bc.ca/"
"${var.cognito_app_client_logout_chain_url.test}https://nr-results-exam-test-frontend.apps.silver.devops.gov.bc.ca/",
"${var.cognito_app_client_logout_chain_url.test}https://silva-test.nrs.gov.bc.ca/"
]
enable_propagate_additional_user_context_data = "false"
enable_token_revocation = "true"
Expand Down Expand Up @@ -91,13 +93,15 @@ resource "aws_cognito_user_pool_client" "prod_silva_oidc_client" {
var.oidc_sso_playground_url,
"http://localhost:3000/dashboard",
"https://nr-silva-prod-frontend.apps.silver.devops.gov.bc.ca/dashboard",
"https://nr-results-exam-prod-frontend.apps.silver.devops.gov.bc.ca/dashboard"
"https://nr-results-exam-prod-frontend.apps.silver.devops.gov.bc.ca/dashboard",
"https://silva.nrs.gov.bc.ca/dashboard"
]
logout_urls = [
var.oidc_sso_playground_url,
"${var.cognito_app_client_logout_chain_url.prod}http://localhost:3000/",
"${var.cognito_app_client_logout_chain_url.prod}https://nr-silva-prod-frontend.apps.silver.devops.gov.bc.ca/",
"${var.cognito_app_client_logout_chain_url.prod}https://nr-results-exam-prod-frontend.apps.silver.devops.gov.bc.ca/"
"${var.cognito_app_client_logout_chain_url.prod}https://nr-results-exam-prod-frontend.apps.silver.devops.gov.bc.ca/",
"${var.cognito_app_client_logout_chain_url.prod}https://silva.nrs.gov.bc.ca/",
]
enable_propagate_additional_user_context_data = "false"
enable_token_revocation = "true"
Expand Down

0 comments on commit 3af9665

Please sign in to comment.