开发者

Using OpenID on a PhoneGap platform

开发者 https://www.devze.com 2023-02-18 09:34 出处:网络
I am currently developing an application using PhoneGap. My application used OpenID to authenticate a user. After successfully au开发者_开发问答thenticate a user, it should be return back to my applic

I am currently developing an application using PhoneGap. My application used OpenID to authenticate a user. After successfully au开发者_开发问答thenticate a user, it should be return back to my application. I have used location.href to redirect the page to a local address (something like file:///var/applications/.../index.html for iOS app). However, it seems that PhoneGap cannot redirect a local page from remote site. Only a white screen was displayed. Is there any way for me to return back to my application after authentication?

Thanks


I think you can use the childbrowser plugin for that.
Also you may be able to ajax call the openid login stuff using a webpage on your own server?

0

精彩评论

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