39 lines
872 B
YAML
39 lines
872 B
YAML
# Dex OIDC Provider Configuration
|
|
# Docs: https://dexidp.io/docs/
|
|
|
|
issuer: http://localhost:5556/dex
|
|
|
|
storage:
|
|
type: sqlite3
|
|
config:
|
|
file: /var/dex/dex.db
|
|
|
|
web:
|
|
http: 0.0.0.0:5556
|
|
|
|
oauth2:
|
|
skipApprovalScreen: true
|
|
|
|
staticClients:
|
|
- id: outline
|
|
redirectURIs:
|
|
- "http://localhost:3000/auth/oidc.callback"
|
|
name: "Outline"
|
|
secret: outline-secret
|
|
|
|
enablePasswordDB: true
|
|
|
|
# Add your users here
|
|
# Generate bcrypt hash: htpasswd -bnBC 10 "" yourpassword | tr -d ':\n'
|
|
# The hash below is for the password: "changeme"
|
|
staticPasswords:
|
|
- email: "admin@example.com"
|
|
hash: "$2y$10$O6EAtz/MdPKFuDt5JXqrKOqGJ5sHBMJQAb28P5f2kZlDiQRO6/Fom"
|
|
username: "admin"
|
|
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
|
|
|
|
# - email: "user2@example.com"
|
|
# hash: "$2y$10$..."
|
|
# username: "user2"
|
|
# userID: "18b9784b-ec99-5c84-91b0-4cd2772g6m77"
|