Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 23
Registered: ‎06-07-2012
My Device: 9810
My Carrier: MTC

OAuth from WebWorks app

Hello!

 

I need help. I don't understand how cat I using OAuth from webworks app?

I can't open popup for OAuth login and return access token. How can i do that?

 

Maybe in webworks app I can invoke browser with needle URL, login, and returned to app?

 

Thanks!

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: OAuth from WebWorks app

See my reply here:

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Twitter-login-in-Blackberry-Play...

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Contributor
Posts: 23
Registered: ‎06-07-2012
My Device: 9810
My Carrier: MTC

Re: OAuth from WebWorks app

I develop for blackberry smartphone.

An opportunity is there any OAuth for a smartphone?

Retired
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: OAuth from WebWorks app

The way I see most developers implement this is through the help of a ChildBrowser extension / plugin.  That view performs the handshake and manages transferring relevant info to the 'main' browser window.

 

A few vendors have created their own, including a PhoneGap plugin, for which the source code can be viewed here:

https://github.com/phonegap/phonegap-plugins/tree/master/BlackBerry/ChildBrowser

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.