about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-07-01T22·39+0200
committerclbot <clbot@tvl.fyi>2023-07-01T23·35+0000
commit6020b71752213a91b9231d908663e66a6059ab16 (patch)
tree16224fd9e0ebcb935ded6a4dc68a2064c60f1c69 /ops
parent5f42c8132d639c69955f400b8aa94a5ac31c6fb9 (diff)
chore(ops/keycloak): drop oauth2-proxy client r/6382
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 <sternenseemann@systemli.org>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'ops')
-rw-r--r--ops/keycloak/clients.tf21
1 files changed, 0 insertions, 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"