From 4a61e3f585fc50538acbc507d4aff63d4d69cd81 Mon Sep 17 00:00:00 2001 From: Jacob Woffenden Date: Mon, 26 Feb 2024 15:53:08 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=82=20Add=20Auth0=20client=20for=20VS?= =?UTF-8?q?=20Code=20(#3452)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Visual Studio Code client configurations for alpha and dev environments Signed-off-by: Jacob Woffenden --- terraform/auth0/alpha-analytics-moj/clients.tf | 6 ++++++ terraform/auth0/dev-analytics-moj/clients.tf | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 terraform/auth0/alpha-analytics-moj/clients.tf create mode 100644 terraform/auth0/dev-analytics-moj/clients.tf diff --git a/terraform/auth0/alpha-analytics-moj/clients.tf b/terraform/auth0/alpha-analytics-moj/clients.tf new file mode 100644 index 0000000000..c03e9bd383 --- /dev/null +++ b/terraform/auth0/alpha-analytics-moj/clients.tf @@ -0,0 +1,6 @@ +resource "auth0_client" "visual_studio_code" { + name = "Visual Studio Code" + app_type = "regular_web" + callbacks = ["https://*-vscode.tools.analytical-platform.service.justice.gov.uk/callback"] + allowed_logout_urls = ["https://*-vscode.tools.analytical-platform.service.justice.gov.uk"] +} diff --git a/terraform/auth0/dev-analytics-moj/clients.tf b/terraform/auth0/dev-analytics-moj/clients.tf new file mode 100644 index 0000000000..dba2ecde77 --- /dev/null +++ b/terraform/auth0/dev-analytics-moj/clients.tf @@ -0,0 +1,6 @@ +resource "auth0_client" "visual_studio_code" { + name = "Visual Studio Code" + app_type = "regular_web" + callbacks = ["https://*-vscode.tools.dev.analytical-platform.service.justice.gov.uk/callback"] + allowed_logout_urls = ["https://*-vscode.tools.dev.analytical-platform.service.justice.gov.uk"] +}