Giter Club home page Giter Club logo

phonegap-oauth-google-api-mobile's Introduction

Implementing OAuth 2.0 with Google API in Phonegap / ChildBrowser

The code demonstrates how to implement OAuth 2.0 with Google API in Phonegap with ChildBrowser Plugin. Below are different screenshots of the App. The App authorize a Google Tasks API using OAuth 2.0 and then it accesses the User's Tasks and displays them in a list view.

AuthorizeView AuthorizeGoogleLogin AuthorizeAllowApp TaskListView

Download and Install Demo App

You can download and install the App from Phonegap Build directly:
https://build.phonegap.com/apps/209209
Note: You can also fork project, customize and then build your app using PhoneGap build system.

Read Online Tutorial

The online tutorial explaining the code is posted at :

http://www.itsalif.info/content/oauth-google-api-gapi-phonegap-childbrowser-jquery

Install Functional App from Play Store

You can also download fully functional TODO app, which uses Google's cloud based Tasks API. Currently we've released this only on Google Play store.

PlayStoreQRCode
[Quick Task on Google™ Play][PlayStoreLink] [PlayStoreLink]: https://play.google.com/store/apps/details?id=ca.liquidlabs.quicktask

Known Issues

  • Some users have reported that this app does not authorize on Windows Phone platform. It gives invalid_grant error during authorization process. It could be related with localStorage html5 data-store, but not confirmed yet. If you have already fixed this issue, please share the fix with us.

Credits

Author: Abdullah Rubiyath, Hossain Khan
The code is licensed under MIT License.
Copyright (c) 2012 Liquid Labs Inc.

phonegap-oauth-google-api-mobile's People

Contributors

hossain-khan avatar itsalif avatar liquidlabsinc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phonegap-oauth-google-api-mobile's Issues

Even accept Authorize, the childbrowser window don't close

I enter my Client ID & Client Secret.
For me all is working fine, window login appear, i enter email and password for my account, Oauth window for my app appear, but even i click 'Authorize access' or 'No, thanks', the childbrowser window don't close. I am in the iphone simulator, ios 6.1 | Phonegap 2.2

Capture d e cran du Simulateur iOS 20 fe vr 2013 06 32 34

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.