-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathconfig.js.example
35 lines (33 loc) · 1009 Bytes
/
config.js.example
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
'use strict'
const path = require('path')
module.exports = {
secret: 'verysecret',
baseUrl: 'http://localhost:1337/',
email: {
address: '[email protected]',
},
authenticators: {
anonymous: {},
facebook: {
clientID: 'get_your_own',
clientSecret: 'get_your_own',
callbackURL: 'http://localhost:1337/auth/facebook/callback',
},
openidconnect: [
{
title: 'Google',
shortName: 'google',
authorizationURL: 'https://accounts.google.com/o/oauth2/v2/auth',
tokenURL: 'https://www.googleapis.com/oauth2/v4/token',
userInfoURL: 'https://www.googleapis.com/oauth2/v3/userinfo',
clientID: 'get_your_own',
clientSecret: 'get_your_own',
icon: 'https://upload.wikimedia.org/wikipedia/commons/4/4d/Google_Icon.svg',
}
],
},
database: {
client: 'sqlite3',
connection: {filename: path.join(__dirname, 'comments.db')}
}
}