Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

jungles-auth-persona

2.0.0 • Public • Published

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

Keywords

none

install

npm i jungles-auth-persona

Downloadsweekly downloads

2

version

2.0.0

license

none

last publish

collaborators

  • avatar
Report a vulnerability