Usage Add Client ID, and Client Secret parameters to GoogleAuthHelper.java Compile the project: $ mvn clean install Deploy war to application server Browse to: http://localhost:8080/OAuth2v1/ Click "log in with google" on top of the page
Read full article from Setting up OAuth 2 with Google Java APIs | Example | OCPsoft | OCPsoft
No comments:
Post a Comment