ENDPOINTS = new HashMap<String, String>();
ENDPOINTS.put(Constants.OAUTH_AUTHORIZATION_URL,
providerConfig.getAuthenticationUrl());
ENDPOINTS.put(Constants.OAUTH_ACCESS_TOKEN_URL,
providerConfig.getAccessTokenUrl());
authenticationStrategy = new OAuth2(config, ENDPOINTS);
authenticationStrategy.setPermission(scope);
authenticationStrategy.setScope(getScope());
}