diff --git a/config/config.js b/config/config.js index 4369f7651b068fea850883d24fb144b7d7e23d2e..d8dbb85750190f62a5bfd188bdb5192ce9343820 100644 --- a/config/config.js +++ b/config/config.js @@ -14,12 +14,10 @@ module.exports = { } }, database: { - //host: 'transfer.hft-stuttgart.de', // DB host user: 'DBManager', // DB username password: 'Stuttgart2019', // DB password port: 3306, // MySQL port dbUser: 'userdb', // User DB - //host_project: 'm4lab.hft-stuttgart.de', // DB host project db host_project: 'localhost', // local dbProject: 'projectDB' // Project DB }, @@ -34,7 +32,37 @@ module.exports = { } }, test: { - // to be defined + app: { + name: 'Project Page Manager', + port: process.env.PORT || 8888 + }, + passport: { + strategy: 'saml', + saml: { + path: process.env.SAML_PATH || '/saml/SSO', + entryPoint: process.env.SAML_ENTRY_POINT || 'https://m4lab.hft-stuttgart.de/idp/saml2/idp/SSOService.php', + issuer: 'sp-project-testing.m4lab.hft-stuttgart.de', + logoutUrl: 'https://m4lab.hft-stuttgart.de/idp/saml2/idp/SingleLogoutService.php' + } + }, + database: { + host: 'transfer.hft-stuttgart.de', // DB host + user: 'DBManager', // DB username + password: 'Stuttgart2019', // DB password + port: 3306, // MySQL port + dbUser: 'userdb', // User DB + host_project: 'm4lab.hft-stuttgart.de', // DB host project db + dbProject: 'projectDB' // Project DB + }, + mailer: { + host: 'mail.hft-stuttgart.de', // hostname + secureConnection: false, // TLS requires secureConnection to be false + port: 587, // port for secure SMTP + authUser: 'ad\\support-transfer', + authPass: '6laumri2', + tlsCiphers: 'SSLv3', + from: 'support-transfer@hft-stuttgart.de', + } }, production: { // to be defined