From 0b03d66a2f52aff8b85d56e2210de8727f04d3a6 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 16 Apr 2021 22:43:35 +0200 Subject: [PATCH] outposts: fix errors when creating multiple outposts Signed-off-by: Jens Langhammer --- authentik/outposts/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/outposts/models.py b/authentik/outposts/models.py index 442f81371..33e653d5e 100644 --- a/authentik/outposts/models.py +++ b/authentik/outposts/models.py @@ -356,7 +356,7 @@ class Outpost(models.Model): intent=TokenIntents.INTENT_API, description=f"Autogenerated by authentik for Outpost {self.name}", expiring=False, - managed="goauthentik.io/outpost", + managed=f"goauthentik.io/outpost/{self.token_identifier}", ) def get_required_objects(self) -> Iterable[models.Model]: