Skip to content

ThisuraThejith/google-oauth-2.0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth 2.0 + NodejS + JavaScript +Google Drive API

This project is a demonstration of using Google Drive API to access files using NodeJS and JavaScript based on OAuth 2.0. OAuth 2.0 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. OAuth 2.0 provides authorization flows for web and desktop applications, and mobile devices.


Setup

Requirements

A recent version of NodeJS and npm.

Running the App

Clone this repository Use master branch!

Steps:

  • Run npm install.
  • Navigate to google-oauth-2.0 directory and run node index.js.
  • The app runs on port 3002.
  • Open a web browser and navigate to http://localhost:3002/

Description

You can Sign In to the application using a Google account. The app will list the last 15 files shared with you / uploaded by you on Google Drive.

Note:

  • You have to allow access to this app when Signing In with Google.

Blog:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published