mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2025-12-15 02:36:38 +00:00
Add enablePasswordDB: true for Dex (#182)
`{!c.EnablePasswordDB && len(c.StaticPasswords) != 0, "cannot specify static passwords without enabling password db"},`
This commit is contained in:
@@ -35,6 +35,8 @@ staticClients:
|
|||||||
name: 'example.com'
|
name: 'example.com'
|
||||||
secret: bar
|
secret: bar
|
||||||
|
|
||||||
|
enablePasswordDB: true
|
||||||
|
|
||||||
staticPasswords:
|
staticPasswords:
|
||||||
- email: "admin@example.com"
|
- email: "admin@example.com"
|
||||||
# bcrypt hash of the string "password"
|
# 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
|
[^1]: You can remove the `whoami` container once you know Traefik Forward Auth is working properly
|
||||||
|
|
||||||
--8<-- "recipe-footer.md"
|
--8<-- "recipe-footer.md"
|
||||||
|
|||||||
Reference in New Issue
Block a user