mirror of
https://github.com/OpenLiberty/liberty-bikes.git
synced 2025-03-07 11:26:52 +08:00
Rename google key and secret properties
This commit is contained in:
parent
c0454efede
commit
2731e7861a
@ -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";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user