core: make application's provider not required
# Conflicts: # authentik/core/api/applications.py
This commit is contained in:
parent
94972d64e6
commit
34166d3c20
|
@ -21,6 +21,7 @@ class ApplicationSerializer(ModelSerializer):
|
||||||
"""Application Serializer"""
|
"""Application Serializer"""
|
||||||
|
|
||||||
launch_url = SerializerMethodField()
|
launch_url = SerializerMethodField()
|
||||||
|
provider = ProviderSerializer(source="get_provider", required=False)
|
||||||
|
|
||||||
def get_launch_url(self, instance: Application) -> str:
|
def get_launch_url(self, instance: Application) -> str:
|
||||||
"""Get generated launch URL"""
|
"""Get generated launch URL"""
|
||||||
|
|
Reference in a new issue