|
1 | 1 | module.exports = { |
2 | | - "gateway_id":"1", |
3 | | - "token-storage":{ |
4 | | - "dbName":"./database_web", |
5 | | - "createTables":true |
6 | | - }, |
7 | | - "auth":{ |
8 | | - "github":{ |
9 | | - "clientID":"getGithubId", |
10 | | - "clientSecret":"getGithubSecret", |
11 | | - "redirect_path":"http://localhost:3000/auth/callback_github", |
12 | | - "scope":[ |
13 | | - "notifications" |
14 | | - ] |
15 | | - }, |
16 | | - "dropbox":{ |
17 | | - "clientID":"getDropboxId", |
18 | | - "clientSecret":"getDropboxSecret", |
19 | | - "redirect_path":"http://localhost:3000/auth/callback_dropbox", |
20 | | - "scope":[ |
21 | | - "" |
22 | | - ] |
23 | | - }, |
24 | | - "google":{ |
25 | | - "clientID":"getGoogleId", |
26 | | - "clientSecret":"getGoogleSecret", |
27 | | - "redirect_path":"http://localhost:3000/auth/callback_google", |
28 | | - "scope":[ |
29 | | - "https://www.googleapis.com/auth/drive", |
30 | | - "https://www.googleapis.com/auth/userinfo.profile", |
31 | | - "https://www.googleapis.com/auth/userinfo.email" |
32 | | - ] |
33 | | - } |
34 | | - }, |
35 | | - "tls":{ |
36 | | - "key":"./certs/server.key", |
37 | | - "cert":"./certs/server.crt" |
38 | | - }, |
39 | | - "http_port":3000, |
40 | | - "https_port":1444, |
41 | | - "https_port_with_client":1443, |
42 | | - "enabledStrategies":["agile-local","github","google","webid"] |
| 2 | + "gateway_id": "1", |
| 3 | + "token-storage": { |
| 4 | + "dbName": "./database_web", |
| 5 | + "createTables": true |
| 6 | + }, |
| 7 | + "auth": { |
| 8 | + "github": { |
| 9 | + "clientID": "getGithubId", |
| 10 | + "clientSecret": "getGithubSecret", |
| 11 | + "redirect_path": "http://localhost:3000/auth/callback_github", |
| 12 | + "scope": [ |
| 13 | + "notifications" |
| 14 | + ] |
| 15 | + }, |
| 16 | + "dropbox": { |
| 17 | + "clientID": "getDropboxId", |
| 18 | + "clientSecret": "getDropboxSecret", |
| 19 | + "redirect_path": "http://localhost:3000/auth/callback_dropbox", |
| 20 | + "scope": [ |
| 21 | + "" |
| 22 | + ] |
| 23 | + }, |
| 24 | + "google": { |
| 25 | + "clientID": "getGoogleId", |
| 26 | + "clientSecret": "getGoogleSecret", |
| 27 | + "redirect_path": "http://localhost:3000/auth/callback_google", |
| 28 | + "scope": [ |
| 29 | + "https://www.googleapis.com/auth/drive", |
| 30 | + "https://www.googleapis.com/auth/userinfo.profile", |
| 31 | + "https://www.googleapis.com/auth/userinfo.email" |
| 32 | + ] |
| 33 | + } |
| 34 | + }, |
| 35 | + "tls": { |
| 36 | + "key": "./certs/server.key", |
| 37 | + "cert": "./certs/server.crt" |
| 38 | + }, |
| 39 | + "http_port": 3000, |
| 40 | + "https_port": 1444, |
| 41 | + "https_port_with_client": 1443, |
| 42 | + "enabledStrategies": ["agile-local", "github", "google", "webid"] |
43 | 43 | } |
0 commit comments