reergymerej / try-passport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Try Passport

http://www.passportjs.org/docs/

It is middleware.

uses https://github.com/senchalabs/connect#readme

Not just for Express, but works really well with it.

Unknown authentication strategy "local"

Strategies must be configured prior to using them in a route.

How to set up a strategy http://www.passportjs.org/docs/configure/ Add strategy package. const LocalStrategy = require('passport-local').Strategy

http://www.passportjs.org/packages/passport-local/

Bad Request This is because we did not provide a failure redirect.

About


Languages

Language:JavaScript 84.6%Language:HTML 13.1%Language:CSS 2.3%