From fa81adf2549cee7af443d4551a1edbf0bbfa4372 Mon Sep 17 00:00:00 2001 From: Andre Mainka Date: Thu, 2 Jun 2022 14:02:01 +0200 Subject: [PATCH] website/docs: Add warning for timezone mounts (#3022) Improve documentation: #3005 --- .vscode/settings.json | 1 + website/docs/installation/docker-compose.md | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index f6b3f2e39..42475380d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,6 @@ { "cSpell.words": [ + "akadmin", "asgi", "authentik", "authn", diff --git a/website/docs/installation/docker-compose.md b/website/docs/installation/docker-compose.md index 3654abb4a..ac1a66ab8 100644 --- a/website/docs/installation/docker-compose.md +++ b/website/docs/installation/docker-compose.md @@ -93,6 +93,15 @@ To start the initial setup, navigate to `https:///if/flow/initial-s ## Explanation +:::warning +The server assumes to have local timezone as UTC. +All internals are handled in UTC, whenever a time is displayed to the user in UI it gets localized. +Do not update or mount `/etc/timezone` or `/etc/localtime` in the authentik containers. +This will not give any advantages. +On the contrary, it will cause problems with OAuth and SAML authentication, +e.g. [see this GitHub issue](https://github.com/goauthentik/authentik/issues/3005). +::: + The docker-compose project contains the following containers: - server