ranesr / OAuth2v1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Java 100.0%