Rename google key and secret properties

This commit is contained in:
Andrew Guibert 2018-05-23 18:14:53 -05:00
parent c0454efede
commit 2731e7861a
2 changed files with 2 additions and 3 deletions

View File

@ -17,8 +17,8 @@ import org.libertybikes.auth.service.twitter.TwitterAuth;
public class ConfigBean {
// REQUIRED GOOGLE SETTINGS
public static final String GOOGLE_KEY = "googleOAuthConsumerKey";
public static final String GOOGLE_SECRET = "googleOAuthConsumerSecret";
public static final String GOOGLE_KEY = "google_key";
public static final String GOOGLE_SECRET = "google_secret";
// REQUIRED GITHUB SETTINGS
public static final String GITHUB_KEY = "github_key";

View File

@ -56,7 +56,6 @@ public class GoogleCallback extends JwtAuth {
Map<String, String> results = new HashMap<String, String>();
Credential credential = flow.createAndStoreCredential(gResponse, null);
System.out.println(credential.toString());
try {
// ask google to verify the response from the auth string