diff --git a/authentik/outposts/models.py b/authentik/outposts/models.py index c159cb633c..012415bcd1 100644 --- a/authentik/outposts/models.py +++ b/authentik/outposts/models.py @@ -312,6 +312,10 @@ class Outpost(ManagedModel): @property def config(self) -> OutpostConfig: """Load config as OutpostConfig object""" + # When embedded outpost is generated initially, this field isn't set + # (on purpose, as we don't want it to be managed by us) + if "authentik_host" not in self._config: + self._config["authentik_host"] = "" return from_dict(OutpostConfig, self._config) @config.setter