Authentication app that uses Mozilla Persona. Can be mounted onto an express.js app.

Mozilla Persona Authentication app for Express.js.

require('jungles-auth-person')(/* optional string: template file */);
var app = express();
app.use('/base_url', require('jungles-auth-persona')());

When you visit '/base_url' you'll get a login page. Visiting '/base_url/logout' will log you out.

This module only does authentication you should still do authorization on logged in users. Check Jungles Auth Simple for an example.

mocha.js and should.js is needed.

make test