OAuth and the Opera Widget Container
Hi,
I've been playing around with Open-Auth Javascript libraries in order to manipulate a number of social network API's - but without going much further I have a conceptual issue with the interop of the widget container and the native brower on the device which makes me think that it just won't work on a mobile without heavy fiddling.
During the OAuth protocol exchange you basically request an authentication token from the service, and then redirect the end-user to a URL to challenge them for their credentials. This is hosted by the service, and may well have a "mobile" page for this (eg: m.tripit.com).
However, from previous experience, you might serve up a link within your mobile widget (running inside the widget container) but clicking on it will launch the native browser. The user challenge is therefore taking place inside another device application - so can you return control back to the widget to continue the OAuth protocol exchange? I'm guessing not.
The Javascript OAuth library I've been using assumes the Javascript code, and the redirect to the user challenge are all running out of the same browser - so I can see how that would work. This is not the case on a mobile.
Has anyone tried any OAuth authentication initiated from within a mobile widget?
Thanks,
Steve Harrop
