accessData.add(REDIRECT_URI_KEY, payload.getRedirectUri());
accessData.add(CLIENT_SECRET, secrets.getGoogle());
accessData.add(CODE_KEY, payload.getCode());
accessData.add(GRANT_TYPE_KEY, AUTH_CODE);
response = client.resource(accessTokenUrl).entity(accessData).post(ClientResponse.class);
accessData.clear();
// Step 2. Retrieve profile information about the current user.
String accessToken = (String) getResponseEntity(response).get("access_token");
response = client.resource(peopleApiUrl)
.header(AuthUtils.AUTH_HEADER_KEY, String.format("Bearer %s", accessToken))