forked from worldofnick/LocalBeats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
48 lines (46 loc) · 1.92 KB
/
config.js
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
/**
* secret: used when we create and verify JSON Web Tokens
* database: the URI with username and password to your MongoDB installation
*/
module.exports = {
'secret': 'pikachuineedyou',
'database': 'mongodb://heroku_dmq914qm:v52suq480nk5qf4m6fh7p5v901@ds147265.mlab.com:47265/heroku_dmq914qm',
'spotifyClientID' : '9b266aeaa5904de699d2864591f4e248',
'spotifyClientSecret' : 'ced120445fe74bdca660090161898476',
spotify: {
clientID : '9b266aeaa5904de699d2864591f4e248',
clientSecret : 'ced120445fe74bdca660090161898476',
authorizeUri: 'https://accounts.spotify.com/authorize',
tokenUri: 'https://accounts.spotify.com/api/token',
redirectUri : 'https://www.localbeats.live/callback/spotify'
// http://localhost:4200/callback/spotify' //TODO: CHANGE_ROUTE change to heroku.localbeats
},
soundcloud: {
clientID: '4e3fe497717451e398ca2719842a7e20'
},
google: {
clientID: '373678164015-979i32np2i2mdqnml2e7g2tkavp5jnd1.apps.googleusercontent.com'
},
reCaptcha: {
secret: '6LeFK1IUAAAAAAbGQ5CBAtmycaq2_N5GJvtwLL2z'
},
sendGrid: {
service: 'SendGrid',
user: 'apikey',
apiKey: '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'
},
local: {
// authCallbackUri : 'http://localhost:4200/callback?localAccessAuth=',
authCallbackUri : 'https://www.localbeats.live/callback?localAccessAuth=',
authSameTabUri: 'https://www.localbeats.live/api/auth/verifyLocalJwt/'
},
// Configuration for Stripe.
stripe: {
secretKey: 'sk_test_XnYNA52kavV92IkcJyh1dQBw',
publishableKey: 'pk_test_4Uybz0SKSGBZjSFdxsLVCEZH',
clientId: 'ca_CE9KYxkI16Id3WqO6ypCkgnZsEqzLtWY',
authorizeUri: 'https://connect.stripe.com/express/oauth/authorize',
tokenUri: 'https://connect.stripe.com/oauth/token'
}
};
//TODO: change those hard-coded values to process.env after adding to Heroku