Leave a comment

Rails : Single Sign-On : Omniauth : Facebook — My Daily Technical Notes [ Ruby, Rails, Gems, Server Ops]


It is very easy to customize devise to implement single-sign-on with facebook. Assumption: You have setup the devise gem fully usable. Devise Omni-Auth In Gemfile: gem ‘omniauth-facebook’ This technique is applicable to any type of Oauth Provider: For a full list of these providers, please check OmniAuth’s list of strategies. $ rails g migration AddOmniauthToUsers provider:string uid:string $ […]

via Rails : Single Sign-On : Omniauth : Facebook — My Daily Technical Notes [ Ruby, Rails, Gems, Server Ops]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: