RailsCasts Pro episodes are now free!

Learn more or hide this

Patrick Fitzgerald's Profile

GitHub User: paddydub

Comments by Patrick Fitzgerald


You can pass a :display =>"popup", to open the omniauth dialog in a popup:

provider :facebook, ENV['FACEBOOK_APP_ID'], ENV['FACEBOOK_SECRET'], :display => "popup"

It's a similar experience to the Javascript SDK when combined with the code from:

Turn omniauth facebook login into a popup (StackOverflow)