Comments (7)
I'll check that in the next couple of days. Thanks for reporting!
from koa-passport.
So finally, I think this is the same issue as #69. That is, version 3.0.0-rc.1
should solve it?
from koa-passport.
well, not for me. I'm re-writing passport in a more functional less state driven, no callbacks kind of way. I just can't take it anymore. Almost done.
So I don't want you to take any action on my behalf.
Thank you,
R
from koa-passport.
Please keep us updated. Having a good less-hacky authentication solution for koa would be great!
from koa-passport.
Hey, I've published my promise driven authentication strategy framework. it's called papers, I have a koa-papers as well, because as you know what it passes to middleware is a bit different.
I currently have three strategies published ( only two anyone will care about, the third is LTI for LMS' ) local, and jwt.
It has pretty full feature parity with passport and is much cleaner code. The strategies are very easy to port, so if people want one of the existing strategies for passport they ( or I ) can port them to papers very easily.
I did not create the koa2 version because I was getting some strange behavior from babel when I compiled it, but I'm running it on koa2 with convert in my own projects. If you feel this is important I can figure it out, otherwise I'll wait till node 7 comes out.
Please let me know what you think and/or help me publicize this package. I don't really know how to get traction with it.
Thanks you,
Raif
https://www.npmjs.com/package/papers
https://www.npmjs.com/package/koa-papers
https://www.npmjs.com/package/papers-local
https://www.npmjs.com/package/papers-jwt
https://www.npmjs.com/package/papers-lti
from koa-passport.
will you look at that, I just noticed that node 7 was just released. I believe you have to use node --harmony-async-await flag though
from koa-passport.
Hi @reharik thanks for the update! I never really did active promotion for NPM modules, but hackernews and reddit could work to get some initial momentum. I did a quick peak into your code. I would recommend to run some linting tools. E.g. you have some inconsistency when using var
or const
and there are also cases where you seem to use non of them making variables to pollute the global scope.
from koa-passport.
Related Issues (20)
- koa-passport doesn't work with local-strategy? HOT 1
- Delegate Koa's ctx.protocol in request HOT 1
- external session storage does not work HOT 2
- The callback in ctx.login() is not being executed, "Error: Failed to serialize user into session" HOT 9
- Strange behavior for passport.authenticate() function HOT 8
- passport.authenticate("jwt", {session: false}) will not executed. Does koa-passport support JWT strategies? HOT 1
- passport serialize user: next is not a function HOT 2
- mocking request loses original koa app instance, breaking resolving of req.subdomains, because req.app.subdomainOffset is undefined HOT 4
- Documentation | authenticate() HOT 2
- Use koa-passport without koa-session HOT 1
- Not work well with @koa/router in Typescript HOT 2
- koa-passport@next is broken! HOT 1
- Passing multiple strategies to passport.authenticate() HOT 1
- export `AuthenticateOptions` HOT 1
- Should `ctx.state.user` contains `password`? HOT 1
- Update passport to latest version HOT 2
- req.session.regenerate is not a function HOT 17
- Mix of express/koa with passport in both breaks HOT 3
- Passport authentification - LocalStrategy async/await issue
- userProperty option doesn't work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koa-passport.