Git Product home page Git Product logo

oauth-2.0's Introduction

OAuth2.0 for google API

Overview documentation https://github.com/tigist/OAuth-2.0/wiki

Client side application

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

Server Side application

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

To use the sample java code requirements

-- 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

oauth-2.0's People

Contributors

tigist avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar

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.