Skip to content

Commit

Permalink
🛂 Port Auth0 client changes (#5584)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Woffenden <[email protected]>
  • Loading branch information
jacobwoffenden authored Oct 9, 2024
1 parent f57e920 commit 5674e09
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
resource "auth0_client" "data_platform_control_panel" {
name = "data-platform-control-panel"
app_type = "regular_web"
description = "Data Platform Control Panel"
logo_uri = "https://assets.development.data-platform.service.justice.gov.uk/assets/justice-digital-logo.png"
name = "data-platform-control-panel"
app_type = "regular_web"
description = "Data Platform Control Panel"
logo_uri = "https://assets.development.data-platform.service.justice.gov.uk/assets/justice-digital-logo.png"
cross_origin_auth = true
}

resource "auth0_connection_client" "data_platform_control_panel_entra_id" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
resource "auth0_client" "data_platform_control_panel" {
name = "data-platform-control-panel"
app_type = "regular_web"
description = "Data Platform Control Panel"
logo_uri = "https://assets.data-platform.service.justice.gov.uk/assets/justice-digital-logo.png"
name = "data-platform-control-panel"
app_type = "regular_web"
description = "Data Platform Control Panel"
logo_uri = "https://assets.data-platform.service.justice.gov.uk/assets/justice-digital-logo.png"
cross_origin_auth = true
}

resource "auth0_connection_client" "data_platform_control_panel_entra_id" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ resource "auth0_client" "airflow_sqlite" {
callbacks = ["https://*-airflow-sqlite.tools.${var.route53_zone}/callback"]
allowed_logout_urls = ["https://*-airflow-sqlite.tools.${var.route53_zone}"]
oidc_conformant = true
cross_origin_auth = true
jwt_configuration {
alg = "RS256"
}
Expand All @@ -25,6 +26,7 @@ resource "auth0_client" "rstudio" {
callbacks = ["https://*-rstudio.tools.${var.route53_zone}/callback"]
allowed_logout_urls = ["https://*-rstudio.tools.${var.route53_zone}"]
oidc_conformant = true
cross_origin_auth = true
jwt_configuration {
alg = "HS256"
}
Expand All @@ -41,6 +43,7 @@ resource "auth0_client" "jupyter_lab" {
callbacks = ["https://*-jupyter-lab.tools.${var.route53_zone}/callback"]
allowed_logout_urls = ["https://*-jupyter-lab.tools.${var.route53_zone}"]
oidc_conformant = true
cross_origin_auth = true
jwt_configuration {
alg = "HS256"
}
Expand All @@ -57,6 +60,7 @@ resource "auth0_client" "controlpanel" {
callbacks = ["https://controlpanel.services.${var.route53_zone}/oidc/callback/", "http://localhost:8000/oidc/callback/"]
allowed_logout_urls = ["https://controlpanel.services.${var.route53_zone}", "http://localhost:8000/"]
oidc_conformant = true
cross_origin_auth = true
jwt_configuration {
alg = "RS256"
}
Expand Down

0 comments on commit 5674e09

Please sign in to comment.