diff --git a/authentik/core/api/applications.py b/authentik/core/api/applications.py index 689d045f9..c65da9043 100644 --- a/authentik/core/api/applications.py +++ b/authentik/core/api/applications.py @@ -22,7 +22,7 @@ class ApplicationSerializer(ModelSerializer): """Application Serializer""" launch_url = SerializerMethodField() - provider = ProviderSerializer(source="get_provider") + provider = ProviderSerializer(source="get_provider", required=False) def get_launch_url(self, instance: Application) -> str: """Get generated launch URL""" diff --git a/swagger.yaml b/swagger.yaml index a60567fc3..ca76440f2 100755 --- a/swagger.yaml +++ b/swagger.yaml @@ -6777,7 +6777,6 @@ definitions: required: - name - slug - - provider type: object properties: pk: