forked from gristlabs/grist-omnibus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dex.yaml
47 lines (37 loc) · 1 KB
/
dex.yaml
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
issuer: '{{ getenv "APP_HOME_URL" }}/dex'
storage:
type: sqlite3
config:
file: /persist/auth/dex.db
web:
http: '0.0.0.0:{{ getenv "DEX_PORT" }}'
logger:
level: "debug"
format: "text"
frontend:
issuer: "Grist"
logoURL: '{{ getenv "APP_HOME_URL" }}/v/unknown/ui-icons/Logo/GristLogo.svg'
staticClients:
- id: '{{ getenv "PROVIDERS_OIDC_CLIENT_ID" }}'
redirectURIs:
- '{{ getenv "APP_HOME_URL" }}/_oauth'
name: 'Grist'
secret: '{{ getenv "PROVIDERS_OIDC_CLIENT_SECRET" }}'
oauth2:
skipApprovalScreen: true
connectors:
- type: google
id: google
name: Google
config:
issuer: https://accounts.google.com
clientID: PUT_CLIENT_ID_HERE_PLEASE
clientSecret: PUT_GOOGLE_CLIENT_SECRET_HERE_PLEASE
redirectURI: '{{ getenv "APP_HOME_URL" }}/dex/callback'
- type: microsoft
id: microsoft
name: Microsoft
config:
clientID: PUT_CLIENT_ID_HERE_PLEASE
clientSecret: PUT_CLIENT_SECRET_HERE_PLEASE
redirectURI: '{{ getenv "APP_HOME_URL" }}/dex/callback'