phonegap和meteor之间的authentication?

自从MeteorJS Framework的0.8.1版本以来,已经有了对authentication的修正。 我还没有能够从phonegap应用程序validation他们的新更新。

问题:

  1. 当用meteor的oauthstream进行login时,需要在phonegap中打开一个新的popup窗口。 这可以使用phonegap的InAppBrowser模块获得,但是,当第三方完成authentication并返回到meteor服务器时。 这个窗口不closures,没有正确的身份validation。

  2. 在某些移动环境(Cordova,Windows Phone)中,使用window.opener是有问题的,而且它并不理想,因为它要求主应用程序窗口与OAuthpopup窗口位于相同的原点。

问题是,有没有人能够实现phonegap和meteor之间的authentication? 你对这个问题有什么解决方法?

你有推荐的authentication的select吗? (oAuth.io?)你怎么实现它?

谢谢