Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Nitin Misra's Profile

GitHub User: nitinstp23

Comments by Nitin Misra

  function(response) {
    if (response.authResponse) {
      return window.location = '/auth/facebook/callback';
  }, { scope: 'email' }

In the above code instead of changing window.location, is there a way to do this through ajax.
Doing this through ajax doesnt seem to work.