-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.yml
34 lines (26 loc) · 1.02 KB
/
config.yml
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
# Vouch Proxy configuration
# bare minimum to get Vouch Proxy running with google
vouch:
domains:
- TODO_YOUR_DOMAIN
# uncomment the following to allow only certain emails
# leave it commented to allow all emails in the subdomain
# whiteList:
# - some_user@TODO_YOUR_DOMAIN
# path/location on which vouch-proxy is deployed
document_root: "/vp_in_a_path"
cookie:
# allow the jwt/cookie to be set into http://yourdomain.com (defaults to true, requiring https://yourdomain.com)
secure: true
# domain: yourdomain.com
oauth:
provider: google
# get credentials from...
# https://console.developers.google.com/apis/credentials
client_id: TODO_CLIENT_ID
client_secret: TODO_CLIENT_SECRET
# Google may require callback_urls (redirect URIs) to be 'https'
callback_urls:
- https://TODO_YOUR_SUB_DOMAIN/vp_in_a_path/auth
preferredDomain: TODO_YOUR_DOMAIN # be careful with this option, it may conflict with chrome on Android
# endpoints are set from https://godoc.org/golang.org/x/oauth2/google