Skip to content

Commit

Permalink
wired up the login config for #8
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Mar 6, 2016
1 parent 7365b33 commit dc7e878
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 3 deletions.
12 changes: 11 additions & 1 deletion lib/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ module.exports = {
},
{plugin: 'scarecrow'},
{plugin: './api/auth/strategy'},
{plugin: './api/router'}
{plugin: './api/router'},
{plugin: 'bell'},
{
plugin: {
register: './auth/strategy',
options: {
isLocal: 'production' !== process.env.NODE_ENV
}
}
},
{plugin: './auth/routes'}
]
};
11 changes: 9 additions & 2 deletions test/integration/features/support/world.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
const
oz = require('oz'),
path = require('path'),
loadApi = require(path.join(__dirname, '../../../../lib/app.js'));

any = require('../../../helpers/any');

process.env.AUTH0_CLIENT_ID = any.string();
process.env.AUTH0_CLIENT_SECRET = any.string();
process.env.AUTH_COOKIE_ENCRYPTION_PASSWORD = any.string();

module.exports.World = function World() {
const SUCCESS = 200;
const
SUCCESS = 200,
loadApi = require(path.join(__dirname, '../../../../lib/app.js'));

this.makeOzRequest = (requestDetails, appDetails, callback) => {
const
Expand Down

0 comments on commit dc7e878

Please sign in to comment.