From 0a3fade1fd5bb99fc0c308dccabdd4e66287d45d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 22 Jul 2021 16:20:26 +0200 Subject: [PATCH] providers/proxy: remove deprecated field Signed-off-by: Jens Langhammer --- authentik/providers/proxy/api.py | 8 -------- schema.yml | 5 ----- 2 files changed, 13 deletions(-) diff --git a/authentik/providers/proxy/api.py b/authentik/providers/proxy/api.py index 9f42344fc..afae83fa1 100644 --- a/authentik/providers/proxy/api.py +++ b/authentik/providers/proxy/api.py @@ -90,12 +90,6 @@ class ProxyOutpostConfigSerializer(ModelSerializer): """Proxy provider serializer for outposts""" oidc_configuration = SerializerMethodField() - forward_auth_mode = SerializerMethodField() - - def get_forward_auth_mode(self, instance: ProxyProvider) -> bool: - """Legacy field for 2021.5 outposts""" - # TODO: remove in 2021.7 - return instance.mode in [ProxyMode.FORWARD_SINGLE, ProxyMode.FORWARD_DOMAIN] class Meta: @@ -117,8 +111,6 @@ class ProxyOutpostConfigSerializer(ModelSerializer): "basic_auth_user_attribute", "mode", "cookie_domain", - # Legacy field, remove in 2021.7 - "forward_auth_mode", ] @extend_schema_field(OpenIDConnectConfigurationSerializer) diff --git a/schema.yml b/schema.yml index 5006e0bb3..eea9947db 100644 --- a/schema.yml +++ b/schema.yml @@ -26694,13 +26694,8 @@ components: Exclusive with internal_host. cookie_domain: type: string - forward_auth_mode: - type: boolean - readOnly: true - deprecated: true required: - external_host - - forward_auth_mode - name - oidc_configuration - pk