mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-03 13:13:15 +02:00
29 lines
978 B
YAML
29 lines
978 B
YAML
# This configuration is intended to be used with the docker-compose testing
|
|
# environment.
|
|
# This should configure Dex to run on port 5556 and provides a static login
|
|
issuer: http://dex.localtest.me:5556/dex
|
|
storage:
|
|
type: memory
|
|
web:
|
|
http: 0.0.0.0:5556
|
|
oauth2:
|
|
skipApprovalScreen: true
|
|
expiry:
|
|
signingKeys: "4h"
|
|
idTokens: "1h"
|
|
staticClients:
|
|
- id: oauth2-proxy
|
|
redirectURIs:
|
|
# These redirect URIs point to the `--redirect-url` for OAuth2 proxy.
|
|
- "http://oauth2-proxy.localtest.me:4180/oauth2/callback" # For basic proxy example.
|
|
- "http://oauth2-proxy.localtest.me:8080/oauth2/callback" # For nginx example.
|
|
name: "OAuth2 Proxy"
|
|
secret: b2F1dGgyLXByb3h5LWNsaWVudC1zZWNyZXQK
|
|
enablePasswordDB: true
|
|
staticPasswords:
|
|
- email: "admin@example.com"
|
|
# bcrypt hash of the string "password"
|
|
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
|
|
username: "admin"
|
|
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
|