From 3c5020f1226e17b9a8d11abbad0abeb82b5a7269 Mon Sep 17 00:00:00 2001 From: Tom Lankhorst Date: Tue, 14 Sep 2021 00:57:00 +0200 Subject: [PATCH] Add enablePasswordDB: true for Dex (#182) `{!c.EnablePasswordDB && len(c.StaticPasswords) != 0, "cannot specify static passwords without enabling password db"},` --- manuscript/ha-docker-swarm/traefik-forward-auth/dex-static.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/manuscript/ha-docker-swarm/traefik-forward-auth/dex-static.md b/manuscript/ha-docker-swarm/traefik-forward-auth/dex-static.md index 9bbc8c9..641d662 100644 --- a/manuscript/ha-docker-swarm/traefik-forward-auth/dex-static.md +++ b/manuscript/ha-docker-swarm/traefik-forward-auth/dex-static.md @@ -35,6 +35,8 @@ staticClients: name: 'example.com' secret: bar +enablePasswordDB: true + staticPasswords: - email: "admin@example.com" # bcrypt hash of the string "password" @@ -197,4 +199,4 @@ What have we achieved? By adding an additional label to any service, we can secu [^1]: You can remove the `whoami` container once you know Traefik Forward Auth is working properly ---8<-- "recipe-footer.md" \ No newline at end of file +--8<-- "recipe-footer.md"