dex config

This commit is contained in:
SPRINX0\prochazka
2025-01-08 13:58:14 +01:00
parent 86b1c82384
commit 2ee1250ccc
2 changed files with 30 additions and 0 deletions

22
e2e-tests/dex-config.yaml Normal file
View File

@@ -0,0 +1,22 @@
issuer: http://localhost:16009/dex
storage:
type: memory
web:
http: 0.0.0.0:5556
oauth2:
skipApprovalScreen: true
staticClients:
- id: my-app
redirectURIs:
- 'http://localhost:3000/callback'
name: 'My Test App'
secret: my-secret
enablePasswordDB: true
staticPasswords:
- email: "test@example.com"
hash: "$apr1$Jt1q33YL$HtIJEPYtMAf6aEtCdF4j80"
username: "test"
userID: "1234"

View File

@@ -30,3 +30,11 @@ services:
ports:
- 16007:3306
- 16008:22
dex:
image: dexidp/dex:v2.35.3
ports:
- "16009:5556"
volumes:
- ./dex-config.yaml:/etc/dex/cfg/config.yaml
command: ["serve", "/etc/dex/cfg/config.yaml"]