Omniauth-Facebook, Rails & Javascript?
===

Trying to implement Ryan's JS implementation of the facebook login, via his Railscast: http://railscasts.com/episodes/360-facebook-authentication

Server-side auth works fantastic--no problems there--but trying it through the JS popup keeps giving me this error:

![enter image description here][1]

My gut tells me the cause is that no data is being passed to the callback URL (from Ryan's JS code at the bottom of the ASCIIcast):

    window.location = '/auth/facebook/callback' if response.authResponse

But I don't know enough about how Omniauth works to know for sure. Can anyone help me with this? Let me know if you need me to post specific files, though everything should be verbatim what Ryan already mentions in his screencast.


  [1]: http://i.stack.imgur.com/hDF5G.jpg