diff --git a/authentik/stages/redirect/stage.py b/authentik/stages/redirect/stage.py index 9083af7dc7..0a09c3cbf2 100644 --- a/authentik/stages/redirect/stage.py +++ b/authentik/stages/redirect/stage.py @@ -83,7 +83,7 @@ class RedirectStageView(ChallengeStageView): target_url_override = self.executor.plan.context.get(PLAN_CONTEXT_REDIRECT_STAGE_TARGET, "") if target_url_override: target = self.parse_target(target_url_override) - # `target` is falsy if the override was to a Flow but that Flow doesn't exist. + # `target` is false if the override was to a Flow but that Flow doesn't exist. if not target: if current_stage.mode == RedirectMode.STATIC: target = current_stage.target_static diff --git a/website/docs/install-config/install/docker-compose.mdx b/website/docs/install-config/install/docker-compose.mdx index e53454c1d3..219c332d65 100644 --- a/website/docs/install-config/install/docker-compose.mdx +++ b/website/docs/install-config/install/docker-compose.mdx @@ -117,6 +117,10 @@ The `docker-compose.yml` file statically references the latest version available To start the initial setup, navigate to `http://:9000/if/flow/initial-setup/`. +:::info +You will get `Not Found` error if initial setup URL doesn't include the trailing forward slash `/`. Make sure you use the complete url (`http://:9000/if/flow/initial-setup/`) including the trailing forward slash. +::: + There you are prompted to set a password for the `akadmin` user (the default user). For an explanation about what each service in the docker compose file does, see [Architecture](../../core/architecture.md). diff --git a/website/docs/install-config/install/kubernetes.md b/website/docs/install-config/install/kubernetes.md index 07acc1278c..b8fc26b11d 100644 --- a/website/docs/install-config/install/kubernetes.md +++ b/website/docs/install-config/install/kubernetes.md @@ -74,6 +74,10 @@ During the installation process, the database migrations will be applied automat After the installation is complete, access authentik at `https:///if/flow/initial-setup/`. Here, you can set a password for the default `akadmin` user. +:::info +You will get `Not Found` error if initial setup URL doesn't include the trailing forward slash `/`. Make sure you use the complete url (`http:///if/flow/initial-setup/`) including the trailing forward slash. +::: + ### Optional step: Configure global email credentials It is recommended to configure global email credentials as well. These are used by authentik to notify you about alerts and configuration issues. Additionally, they can be utilized by [Email stages](../../add-secure-apps/flows-stages/stages/email/index.mdx) to send verification and recovery emails.