-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathapp.json
More file actions
39 lines (39 loc) · 1.47 KB
/
app.json
File metadata and controls
39 lines (39 loc) · 1.47 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
{
"name": "Protected Section",
"description": "Static site behind Google Authentication",
"keywords": [ "static", "google", "oauth2" ],
"repository": "https://github.com/treatwell/restricted-section",
"logo": "https://user-images.githubusercontent.com/218656/29311588-6d8bed5e-81aa-11e7-9e15-d9890863f115.png",
"image": "heroku/nodejs",
"env": {
"ALLOWED_DOMAINS": {
"description": "Google email domains that are allowed access. Enter multiple domains as example.com,example.org",
"required": true,
"value": "example.com"
},
"GOOGLE_CLIENT_ID": {
"description": "Google Application OAuth 2.0 Client ID, found in https://console.developers.google.com/apis/credentials",
"required": true,
"value": "00000000000-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com"
},
"GOOGLE_CLIENT_SECRET": {
"description": "Client Secret for given Client ID",
"required": true,
"value": "XXXXXXXXXXXXXXXXXXXXXXXX"
},
"SESSION_SECRET": {
"description": "A random string for signing session cookies",
"required": true
},
"HOSTNAME": {
"description": "URL under which the site will be accessible (used to generate Google OAuth callbacks)",
"required": false,
"value": "restricted-section.example.com"
},
"HOSTPROTOCOL": {
"description": "`http` or `https`. If `https`, all HTTP traffic will be redirected to HTTPS",
"required": false,
"value": "http"
}
}
}