koa-passport 0,0,0,1,0 eslint gulp npm

Passport middleware for Koa

3 years after MIT

koa-passport

Passport middleware for Koa

NPM Dependency Status Build Status

koa-passport version koa version branch npm tag
1.x 1.x master latest
2.x 2.x v2.x next

Usage

// body parser
var bodyParser = require('koa-bodyparser')
app.use(bodyParser())

// Sessions
var session = require('koa-session')
app.keys = ['secret']
app.use(session(app))

var passport = require('koa-passport')
app.use(passport.initialize())
app.use(passport.session())

Example Application

License

MIT

Related Repositories

examples

examples

Example Koa apps ...

crocodile-node-mvc-framework

crocodile-node-mvc-framework

:crocodile: CrocodileJS is a full-stack Node.js + Koa + ES7 MVC framework for Ap ...

koa-react-full-example

koa-react-full-example

Full example using Koa, React, Passport, Mongoose, Webpack, Mocha, Babel ...

koa-passport-example

koa-passport-example

koa-passport usage example ...

koa-passport-mongoose-graphql

koa-passport-mongoose-graphql

Koa 2 server with Passport + Mongoose + GraphQL ...


Top Contributors

rkusa cayasso iliakan fundon kudos JiangJie jpetitcolas mlegenhausen pesho roymiloh greenkeeperio-bot

Dependencies

package version
passport ^0.3.2
dev chai ^3.5
koa ^2.0.0-alpha.5
koa-bodyparser ^4.0.0
koa-route ^3.2
mocha ^3.0
passport-local ^1.0
supertest ^3.0

Releases

-   v1.1.6 zip tar
-   3.0.0-rc.1 zip tar
-   2.2.2 zip tar
-   2.2.1 zip tar
-   2.2.0 zip tar
-   2.1.1 zip tar
-   2.1.0 zip tar
-   2.0.1 zip tar
-   2.0.0 zip tar
-   1.3.1 zip tar
-   1.3.0 zip tar
-   1.2.0 zip tar
-   1.1.5 zip tar
-   1.1.4 zip tar
-   1.1.1 zip tar
-   1.1.0 zip tar
-   1.0.1 zip tar
-   1.0.0 zip tar
-   0.5.1 zip tar
-   0.5.0 zip tar
-   0.4.0 zip tar
-   0.3.2 zip tar
-   0.3.1 zip tar
-   0.3.0 zip tar
-   0.2.0 zip tar