Skip to content

A sample application that demonstrates how to authorize using OAuth 2.0 to access the Gmail API and retrieve e-mail user data

Notifications You must be signed in to change notification settings

Dharshika9/OAuth-SampleApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAuth-SampleApp

A sample application that demonstrates how to authorize using OAuth 2.0 to access the Gmail API and retrieve e-mail user data.

Prerequisites

  1. Obtain a client ID and client secret for Gmail API. (Visit Related Blog for Information : https://medium.com/@dharshikasingarathnam/how-to-consume-apis-using-oauth-2-0-protocol-4e136d91684d
  2. Add the client ID and secret to the application.properties

How to Run

  1. Build the project using mvn clean install
  2. Run using mvn spring-boot:run
  3. The web application is accessible via localhost:8080

Author

Dharshika Singarathnam (dharshikasingarathnam@gmail.com)

About

A sample application that demonstrates how to authorize using OAuth 2.0 to access the Gmail API and retrieve e-mail user data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published