Overview documentation https://github.com/tigist/OAuth-2.0/wiki
Brief summary of client side OAuth2.0 wiki
Download the JavaScript sources code of client side OAuth2.0 based application which allows you to create event and retrieve calendar event from your google calendar. sample demo
Copy it in the root directory and run the html files using Firefox browser.
Library used
- AngualrJS
- Jquery
Brief summary of server side OAuth2.0 wiki
Download the Java file for server side OAuth2.0 based application. The application retrieve the authorization information and your profile. sample demo
Server side demo implementation is made based on simple HTTP request as described on HttpUtil. Authentication and authorization flow to grant access for Google API is as shown on code
-- Create App engine account create account
-- Create App Engine web application
-- Deploy your application on google app engine
-- Use the URL as a redirect-Uri
-- Register the redirect-Uri of your application on the Google API console
-- Configure web.XML to uniform URL-pattern