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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Contributor
Praeses
Posts: 23
Registered: ‎06-07-2012
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!

Please use plain text.
Developer
interfaSys
Posts: 794
Registered: ‎11-19-2009
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.
Please use plain text.
Contributor
Praeses
Posts: 23
Registered: ‎06-07-2012
My Carrier: MTC

Re: OAuth from WebWorks app

I develop for blackberry smartphone.

An opportunity is there any OAuth for a smartphone?

Please use plain text.
Administrator
astanley
Posts: 1,127
Registered: ‎07-02-2009
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.

Watch the BlackBerry Jam Americas Sessions.
Please use plain text.