Giter VIP home page Giter VIP logo

Comments (7)

rkusa avatar rkusa commented on May 14, 2024

I'll check that in the next couple of days. Thanks for reporting!

from koa-passport.

rkusa avatar rkusa commented on May 14, 2024

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.

reharik avatar reharik commented on May 14, 2024

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.

rkusa avatar rkusa commented on May 14, 2024

Please keep us updated. Having a good less-hacky authentication solution for koa would be great!

from koa-passport.

reharik avatar reharik commented on May 14, 2024

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.

reharik avatar reharik commented on May 14, 2024

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.

rkusa avatar rkusa commented on May 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.