Reputation: 917
I'm thinking to use devise gem for a new Rails app I'm working on. I'm a bit confused about a thing. The app will allow the user to connect to FB, Twitter and possibly other social network (Foursquare, etc..). I know that with devise + omniauth-facebook you can allow the user to register to your site by FB user (or same applies to twitter). I just wonder: if you allow the user to login by FB user and then you also want to connect the same user to his/her twitter account, does devise support this?
Upvotes: 5
Views: 6538
Reputation: 43949
You can use this sample source code which integrates with all the popular social networks ie Devise + Twitter + Facebook + Linkedin + Google + Github
Disclaimer: I wrote that application. In case you are facing any issues. Feel free to ping me on stackoverflow or open an issue on github.
Upvotes: 3
Reputation: 3010
You can check this tutorial, this explains multiple authentication with Facebook and Twitter + normal user registration process with Devise: http://www.orhancanceylan.com/rails-twitter-and-facebook-authentications-with-omniauth-and-devise/
Upvotes: 7