diff --git a/authentik/providers/proxy/api.py b/authentik/providers/proxy/api.py index ce0de0add..cd2e54cff 100644 --- a/authentik/providers/proxy/api.py +++ b/authentik/providers/proxy/api.py @@ -100,8 +100,3 @@ class ProxyOutpostConfigViewSet(ReadOnlyModelViewSet): queryset = ProxyProvider.objects.filter(application__isnull=False) serializer_class = ProxyOutpostConfigSerializer ordering = ["name"] - - def get_queryset(self): - qs = super().get_queryset() - print(qs) - return qs diff --git a/web/src/pages/applications/ApplicationForm.ts b/web/src/pages/applications/ApplicationForm.ts index 3d000959a..a169e0d94 100644 --- a/web/src/pages/applications/ApplicationForm.ts +++ b/web/src/pages/applications/ApplicationForm.ts @@ -72,7 +72,7 @@ export class ApplicationForm extends Form { ${Array.from(m).map(([group, providers]) => { return html` ${providers.map(p => { - const selected = (this.application?.provider?.pk === p.pk) || (this.provider === p.pk); + const selected = (this.application?.provider === p.pk) || (this.provider === p.pk); return html``; })} `; @@ -98,7 +98,7 @@ export class ApplicationForm extends Form { + name="provider">