开发者

Google OAuth with jquery mobile

开发者 https://www.devze.com 2023-04-11 12:37 出处:网络
I have a \"Si开发者_如何学运维gn in to Google\" button which hits an internal all url \"/auth/google\". This endpoint then sends a 302 to redirect to the proper Google Apps OAuth endpoint.

I have a "Si开发者_如何学运维gn in to Google" button which hits an internal all url "/auth/google". This endpoint then sends a 302 to redirect to the proper Google Apps OAuth endpoint.

This works fine for the desktop version. But as jQueryMobile uses its own navigation scheme, it stops trying upon receiving the 302.

What can be done? Can I hook into the navigation somehow to force it to process the 302?


Looks like setting rel="external" on the link did the trick.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号