From 6020b71752213a91b9231d908663e66a6059ab16 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 2 Jul 2023 00:39:33 +0200 Subject: chore(ops/keycloak): drop oauth2-proxy client Nothing is using this, so it can be removed. Change-Id: I1b812b6df89d4f79ed313e646e141909519c6083 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8914 Tested-by: BuildkiteCI Reviewed-by: sterni Autosubmit: flokli --- ops/keycloak/clients.tf | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/ops/keycloak/clients.tf b/ops/keycloak/clients.tf index 9506bd4aa046..178971ae3678 100644 --- a/ops/keycloak/clients.tf +++ b/ops/keycloak/clients.tf @@ -70,27 +70,6 @@ resource "keycloak_saml_user_attribute_protocol_mapper" "buildkite_name" { saml_attribute_name_format = "Unspecified" } -resource "keycloak_openid_client" "oauth2_proxy" { - realm_id = keycloak_realm.tvl.id - client_id = "oauth2-proxy" - name = "TVL OAuth2 Proxy" - enabled = true - access_type = "CONFIDENTIAL" - standard_flow_enabled = true - - valid_redirect_uris = [ - "https://login.tvl.fyi/oauth2/callback", - "http://localhost:4774/oauth2/callback", - ] -} - -resource "keycloak_openid_audience_protocol_mapper" "oauth2_proxy_audience" { - realm_id = keycloak_realm.tvl.id - client_id = keycloak_openid_client.oauth2_proxy.id - name = "oauth2-proxy-audience" - included_custom_audience = keycloak_openid_client.oauth2_proxy.client_id -} - resource "keycloak_openid_client" "panettone" { realm_id = keycloak_realm.tvl.id client_id = "panettone" -- cgit 1.4.1