Omniauth authorization call with Ajax
问题 I have omniauth working fine in my Rails 3 app when using it as a link: link_to("Connect Twitter", "/auth/twitter", :id => "connect-to-twitter") Now I want to call '/auth/twitter' through ajax. However, nothing is returned after the request phase. Here is the last log entry: Started GET "/auth/twitter" for 127.0.0.1 at 2012-10-30 17:53:02 -0700 (twitter) Request phase initiated. Here is my ajax code (in Coffeescript): $("#connect-to-twitter").live("click", -> alert('get twitter') $.get('/auth