开发者

Adobe AIR: problem with OpenID / rpxnow logins

开发者 https://www.devze.com 2022-12-29 15:33 出处:网络
Does Adobe Air work with OpenID/rpxnow? I\'m having a developer build me an AIR app to work with my website so I can have access to desktop photos.

Does Adobe Air work with OpenID/rpxnow?

I'm having a developer build me an AIR app to work with my website so I can have access to desktop photos.

However, my site uses OpenID logins via the rpxnow.com implementation. Works fine in the web version, but my developer has told me that he cann开发者_如何转开发ot do rpxnow/openid logins from the AIR app because it doesn't allow pop-ups and/or redirects.

Has anyone found a workaround?

m.


There are many implementations of OpenID for Adobe Flex. Just google Flex OpenID and you'll find lots of results.

http://anirudhs.chaosnet.org/blog/2009.02.17.html

OpenID is slightly more complicated in a desktop app than in a web app due to how OpenID works, but it's still doable. OpenID redirects from the signing-in site to the authenticating site and then back to the signing-in site. Since the desktop app is a desktop app and not a site, the authenticating site can't really redirect back to the app. But the app can provide a fake redirect url and then hook into the browser component events to listen for a redirect back to this fake url, and when it's detected finish the authentication.

0

精彩评论

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