Skip to content

Commit

Permalink
Fix auth gateway name
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-elliott-nhsd committed Jan 17, 2025
1 parent 943545b commit d230cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/terraform/components/app/locals.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
root_domain_name = "${var.environment}.${local.acct.dns_zone["name"]}"
auth_domain_name = "auth.${local.root_domain_name}"
auth_gateway_name = var.cognito_user_pool_use_environment_specific_gateway_callback_url ? "${var.environment}.${var.cognito_user_pool_environment_specific_gateway_callback_url_suffix}" : "${aws_amplify_app.main.default_domain}/auth/"
auth_gateway_name = var.cognito_user_pool_use_environment_specific_gateway_callback_url ? "https://${var.environment}.${var.cognito_user_pool_environment_specific_gateway_callback_url_suffix}" : "https://${aws_amplify_app.main.default_domain}/auth/"
cis2_issuer_urls = {
int : "https://am.nhsint.auth-ptl.cis2.spineservices.nhs.uk:443/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare"
live : "https://am.nhsidentity.spineservices.nhs.uk:443/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare"
Expand Down

0 comments on commit d230cef

Please sign in to comment.