Removed OAuth providers from env/secure.js
This commit is contained in:
parent
2c736fe184
commit
4e9a68e628
27
config/env/secure.js
vendored
27
config/env/secure.js
vendored
@ -33,37 +33,12 @@ module.exports = {
|
|||||||
maxAge: 7200,
|
maxAge: 7200,
|
||||||
// To set the cookie in a specific domain uncomment the following
|
// To set the cookie in a specific domain uncomment the following
|
||||||
// setting:
|
// setting:
|
||||||
domain: 'forms.polydaic.com'
|
domain: process.env.BASE_URL || 'localhost:3000'
|
||||||
},
|
},
|
||||||
assets: {
|
assets: {
|
||||||
css: 'public/dist/application.min.css',
|
css: 'public/dist/application.min.css',
|
||||||
js: 'public/dist/application.min.js'
|
js: 'public/dist/application.min.js'
|
||||||
},
|
},
|
||||||
facebook: {
|
|
||||||
clientID: process.env.FACEBOOK_ID || 'APP_ID',
|
|
||||||
clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
|
|
||||||
callbackURL: 'https://localhost:443/auth/facebook/callback'
|
|
||||||
},
|
|
||||||
twitter: {
|
|
||||||
clientID: process.env.TWITTER_KEY || 'CONSUMER_KEY',
|
|
||||||
clientSecret: process.env.TWITTER_SECRET || 'CONSUMER_SECRET',
|
|
||||||
callbackURL: 'https://localhost:443/auth/twitter/callback'
|
|
||||||
},
|
|
||||||
google: {
|
|
||||||
clientID: process.env.GOOGLE_ID || 'APP_ID',
|
|
||||||
clientSecret: process.env.GOOGLE_SECRET || 'APP_SECRET',
|
|
||||||
callbackURL: 'https://localhost:443/auth/google/callback'
|
|
||||||
},
|
|
||||||
linkedin: {
|
|
||||||
clientID: process.env.LINKEDIN_ID || 'APP_ID',
|
|
||||||
clientSecret: process.env.LINKEDIN_SECRET || 'APP_SECRET',
|
|
||||||
callbackURL: 'https://localhost:443/auth/linkedin/callback'
|
|
||||||
},
|
|
||||||
github: {
|
|
||||||
clientID: process.env.GITHUB_ID || 'APP_ID',
|
|
||||||
clientSecret: process.env.GITHUB_SECRET || 'APP_SECRET',
|
|
||||||
callbackURL: 'https://localhost:443/auth/github/callback'
|
|
||||||
},
|
|
||||||
mailer: {
|
mailer: {
|
||||||
from: process.env.MAILER_FROM || '',
|
from: process.env.MAILER_FROM || '',
|
||||||
options: process.env.MAILER_SMTP_HOST ? { //Uses custom SMTP if MAILER_SMTP_HOST is set
|
options: process.env.MAILER_SMTP_HOST ? { //Uses custom SMTP if MAILER_SMTP_HOST is set
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user