mirror of
https://github.com/nicotsx/zerobyte.git
synced 2026-04-18 05:47:31 -04:00
59 lines
1.7 KiB
YAML
59 lines
1.7 KiB
YAML
issuer: http://dex:5557/dex
|
|
|
|
storage:
|
|
type: sqlite3
|
|
config:
|
|
file: /tmp/dex.db
|
|
|
|
web:
|
|
http: 0.0.0.0:5557
|
|
|
|
enablePasswordDB: true
|
|
|
|
staticPasswords:
|
|
- email: "admin@example.com"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "admin"
|
|
userID: "001"
|
|
- email: "user@example.com"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "user"
|
|
userID: "002"
|
|
- email: "test@example.com"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "test"
|
|
userID: "003"
|
|
- email: "test@test.com"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "test-local"
|
|
userID: "004"
|
|
- email: "linkguard@example.com"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "linkguard"
|
|
userID: "005"
|
|
|
|
staticClients:
|
|
- id: zerobyte-test
|
|
name: Zerobyte Test
|
|
redirectURIs:
|
|
- "http://localhost:3000/api/auth/sso/callback/credential"
|
|
- "http://localhost:3000/api/auth/sso/callback/dex"
|
|
- "http://localhost:4096/api/auth/sso/callback/test-oidc"
|
|
- "http://localhost:4096/api/auth/sso/callback/test-oidc-register"
|
|
- "http://localhost:4096/api/auth/sso/callback/test-oidc-uninvited"
|
|
- "http://localhost:4096/api/auth/sso/callback/test-oidc-invited"
|
|
- "http://localhost:4096/api/auth/sso/callback/test-oidc-autolink"
|
|
secret: test-secret-12345
|
|
|
|
oauth2:
|
|
skipApprovalScreen: true
|
|
|
|
logger:
|
|
level: debug
|
|
format: json
|
|
|
|
# Issuer URL: http://dex:5557/dex
|
|
# Discovery URL: http://dex:5557/dex/.well-known/openid-configuration
|
|
# Client ID: zerobyte-test
|
|
# Client Secret: test-secret-12345
|