I realize the framework is in alpha but implementing jQuery Mobile has broken my omniauth authentication. When I try to sign in jQuery mobile spit开发者_Python百科s out a general error message as soon as I try to hit the /auth/twitter controller.
Anyone else have this problem?
I just encountered this problem and it's because the auth/:provider link needs to have rel='external'
on the anchor tag otherwise jquery mobile will try and treat it as an ajax link.
Another problem I recently encountered is that Facebook's oauth callback wasn't working. The short answer is that it puts some garbage after the hash in the url something.com/#_=_
. All you need to do is get rid of that and you're good to go. Specifics and the long answer can be found at the bottom of this page: http://jquerymobile.com/test/docs/pages/page-navmodel.html
Try adding "data-ajax" => false
to the link.
精彩评论