-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdex-config.yaml
More file actions
59 lines (54 loc) · 1.52 KB
/
dex-config.yaml
File metadata and controls
59 lines (54 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
issuer: http://127.0.0.1:5556/dex
storage:
type: postgres
config:
host: 192.168.0.121
port: 5432
database: dex
user: postgres
password: postgrespw
ssl:
mode: disable
web:
http: 0.0.0.0:5556
allowedOrigins: ['*']
staticClients:
- id: public-webui
redirectURIs:
- http://127.0.0.1:4200/signin/callback
name: public-webui
public: true
- id: oauth2-proxy
redirectURIs:
- http://127.0.0.1:4180/oauth2/callback
name: oauth2-proxy
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
trustedPeers:
- public-webui
connectors:
- type: mockCallback
id: mock
name: Example
# - type: google
# id: google
# name: Google
# config:
# issuer: https://accounts.google.com
# # Connector config values starting with a "$" will read from the environment.
# clientID: $GOOGLE_CLIENT_ID
# clientSecret: $GOOGLE_CLIENT_SECRET
# redirectURI: http://127.0.0.1:5556/dex/callback
# hostedDomains:
# - $GOOGLE_HOSTED_DOMAIN
# Let dex keep a list of passwords which can be used to login to dex.
enablePasswordDB: true
# A static list of passwords to login the end user. By identifying here, dex
# won't look in its underlying storage for passwords.
#
# If this option isn't chosen users may be added through the gRPC API.
staticPasswords:
- email: "[email protected]"
# bcrypt hash of the string "password": $(echo password | htpasswd -BinC 10 admin | cut -d: -f2)
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
username: "admin"
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"