News for hackers. Stuff that matters.
Re:OmniSocial: a Rails 3 Engine for Twitter and Facebook Logins by boundlessdreamz on Tuesday October 12, 2010 @03:38PM (#1784603)
I will stick with OmniAuth as I want to use one of the existing auth libraries (devise/authlogic). I don't think integrating OmniAuth is difficult enough to warrant another gem.

With devise,you get so much more functionality and also allow you to offer a native login/password if you so desire.

Re:OmniSocial: a Rails 3 Engine for Twitter and Facebook Logins by cullenking on Tuesday October 12, 2010 @07:20PM (#1785386)
Ugh, I just tried devise and tossed it out within an hour. Way too much automagic, way too difficult to use it in any way but their scaffold. Still looking for a clean way to do facebook/twitter stuff however, so I'll checkout omnisocial and omniauth.
Re:OmniSocial: a Rails 3 Engine for Twitter and Facebook Logins by dmix on Tuesday October 12, 2010 @07:42PM (#1785449)
There's no need to use a complex plugin to provide logins with Facebook/Twitter.

Use the oauth2 gem and write it by hand. My FacebookAuth controller is only 20 lines of code and it works perfectly.

I've set up fb/twitter logins in 4 different apps and have tried all the gems/plugins.

Re:OmniSocial: a Rails 3 Engine for Twitter and Facebook Logins by cullenking on Tuesday October 12, 2010 @08:33PM (#1785553)
Thanks for the tip :)
Re:OmniSocial: a Rails 3 Engine for Twitter and Facebook Logins by knuckle_cake on Tuesday October 12, 2010 @04:39PM (#1784844)
We married OmniAuth with Authlogic to handle username/password (we're still on Rails 2, so no Devise for us). It wasn't too bad. Handling the validations for users was the tricky part, but Authlogic offers a ton of help in this area... way more than I expected.
Re:OmniSocial: a Rails 3 Engine for Twitter and Facebook Logins by pibefision on Tuesday October 12, 2010 @06:49PM (#1785309)
I stick with devise too, but I don't understand why the oauth2 functionalty it is not on the master gem. You need to import it from github to have this.