OAuth support #76

Open
travist opened this Issue Aug 26, 2012 · 3 comments

Projects

None yet

3 participants

@travist
travist commented Aug 26, 2012

I really want to use this framework, and I applaud nodejitsu for your contributions. Everything is pretty much what I am looking for, with one exception. I cannot for the life of me figure out how to add user authentication using OAuth or similar. Passport does this beautifully within Express.js framework, but the closest thing I have seen out there is a hacked up version of Passport for Flatiron (https://gist.github.com/2132062). I would prefer to use a community supported solution, but after a day of searching, I have come up with nothing...

Question... Is there anything out there that I can use for oauth authentication for flatiron?

Thanks in advance for your response,

Travis.

Contributor

I'm not aware of a flatiron solution, though I agree that there should be.

That gist looks like a good start. What I would do is rewrite it to work as a broadway plugin. In fact, someone should rewrite it as a broadway plugin.

Contributor
Marak commented Aug 27, 2012

+1 to adding a generic auth plugin.

I know we have something we use internally, but it's not release ready.

Integration with passport or everyauth would be a good idea.

travist commented Aug 28, 2012

Ok, so here is what I got so far... I believe I got it working, and did so with the following package.

https://npmjs.org/package/flatiron-passport
https://github.com/travist/flatiron-passport

Please read the README.md on how to use it... Let me know if this works for you guys. It may need a lot of testing, but so far, for LocalStrategy it works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment