jungles-auth-persona

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

npm install jungles-auth-persona
8 downloads in the last week
21 downloads in the last month

screenshot

Mozilla Persona Authentication app for Express.js.

API

require('jungles-auth-person')(/* optional string: template file */);

Mount

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.

Warning

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

Test

mocha.js and should.js is needed.

make test
npm loves you