providers/proxy: remove deprecated field

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-22 16:20:26 +02:00
parent ff64814f40
commit 0a3fade1fd
2 changed files with 0 additions and 13 deletions

View File

@ -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)

View File

@ -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