javascript - Problems Oauth 2 and Google APIs in appmobi -


after lot of work managed make simple oauth authentication work twitter api, however, intention sure basics working implement google apis authentication.

the thing if try create service in same why did twitter im unable find urls need (requesttokenendpoint, authorizeendpoint, accesstokenendpoint). in twitter dev portal easy find, not @ google's.

anyway if go https://developers.google.com/accounts/ ... stalledapp, provide url make requests. ie

https://accounts.google.com/o/oauth2/auth?scope=https%3a%2f2fwww.googleapis.com%2fauth%2fuserinfo.email+https%3a%2f2fwww.googleapis.com%2fauth%2fuserinfo.profile&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&client_id=812741506391-h38jh0j4fv0ce1krdkiq0hfvt6n5amrf.apps.googleusercontent.com

and url contains need open authentication window. tried showremotesiteext url not able open (google restrictions).

so, explain me how can proceed sucess in google api authentication? have read twitter , facebook examples, google case different.

in site can find fields need:

http://www.html5dev-software.intel.com/documentation/content/articles/article_usingoauth/index.html?r=6033

request token endpoint

authorize endpoint

access token endpoint

and 1 authorization. if same in twitter provide fields need, not in google apis.

any help?

thanks lot.

it seems appmobi not supporting oauth 2, , google api i'm trying use tells me use oauth 2. think i'll move phonegap or native development. thanks


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -