Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 734 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 734 Bytes

OAuth2v1

A demo and helper class for providing Google OAuth2 v1 authentication in java.

Assumptions

  • familiarity with OOP, java, maven, and jee
  • java application server listening on localhost:8080

Prerequisites

Usage

  1. Add Client ID, and Client Secret parameters to GoogleAuthHelper.java
  2. Compile the project ($ mvn clean install)
  3. Deploy war to application server
  4. Browse to: http://localhost:8080/OAuth2v1/
  5. Click "log in with google" on top of this page