sources/saml: fix error when getting metadata
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
dec34bc948
commit
5af9a3d3be
|
@ -53,6 +53,11 @@ class SAMLSourceViewSet(UsedByMixin, ModelViewSet):
|
|||
return Response(
|
||||
{
|
||||
"metadata": metadata,
|
||||
"download_url": reverse("authentik_sources_saml:metadata"),
|
||||
"download_url": reverse(
|
||||
"authentik_sources_saml:metadata",
|
||||
kwargs={
|
||||
"source_slug": source.slug,
|
||||
},
|
||||
),
|
||||
}
|
||||
)
|
||||
|
|
Reference in a new issue