website/docs: Add warning for timezone mounts (#3022)

Improve documentation: #3005
This commit is contained in:
Andre Mainka 2022-06-02 14:02:01 +02:00 committed by GitHub
parent 558c7bba2a
commit fa81adf254
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -1,5 +1,6 @@
{ {
"cSpell.words": [ "cSpell.words": [
"akadmin",
"asgi", "asgi",
"authentik", "authentik",
"authn", "authn",

View File

@ -93,6 +93,15 @@ To start the initial setup, navigate to `https://<your server>/if/flow/initial-s
## Explanation ## 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: The docker-compose project contains the following containers:
- server - server