From 34166d3c204ce3a26ea83a2e602ca20aa6784668 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 24 Dec 2020 13:04:52 +0100 Subject: [PATCH] core: make application's provider not required # Conflicts: # authentik/core/api/applications.py --- authentik/core/api/applications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/core/api/applications.py b/authentik/core/api/applications.py index 9f481261a..11fd14621 100644 --- a/authentik/core/api/applications.py +++ b/authentik/core/api/applications.py @@ -21,6 +21,7 @@ class ApplicationSerializer(ModelSerializer): """Application Serializer""" launch_url = SerializerMethodField() + provider = ProviderSerializer(source="get_provider", required=False) def get_launch_url(self, instance: Application) -> str: """Get generated launch URL"""