-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
60 lines (60 loc) · 1.94 KB
/
app.json
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
60
{
"name": "salesforce-oauth-demo",
"description": "A demo application showcasing Salesforce OAuth integration with support for both Salesforce and Salesforce on Alibaba Cloud environments",
"repository": "https://github.com/adamSellers/china-auth-demo",
"keywords": ["node", "express", "salesforce", "oauth", "react"],
"success_url": "/",
"scripts": {
"postdeploy": "npm run heroku-postbuild"
},
"env": {
"NODE_ENV": {
"description": "Environment setting for the application",
"value": "production"
},
"SESSION_SECRET": {
"description": "A secret key for signing session cookies",
"generator": "secret"
},
"SF_CLIENT_ID": {
"description": "Salesforce OAuth Client ID",
"required": true
},
"SF_CLIENT_SECRET": {
"description": "Salesforce OAuth Client Secret",
"required": true
},
"SF_CALLBACK_URL": {
"description": "OAuth callback URL (e.g., https://your-app.herokuapp.com/auth/salesforce/callback)",
"required": true
},
"SF_LOGIN_URL": {
"description": "Salesforce login URL",
"value": "https://login.salesforce.com"
},
"SFOA_CLIENT_ID": {
"description": "Salesforce on Alibaba Cloud OAuth Client ID",
"required": true
},
"SFOA_CLIENT_SECRET": {
"description": "Salesforce on Alibaba Cloud OAuth Client Secret",
"required": true
},
"SFOA_LOGIN_URL": {
"description": "Salesforce on Alibaba Cloud login URL",
"value": "https://login.sfcrmproducts.cn"
}
},
"addons": ["heroku-redis:mini"],
"buildpacks": [
{
"url": "heroku/nodejs"
}
],
"formation": {
"web": {
"quantity": 1,
"size": "basic"
}
}
}