public static OauthProvider discoverProvider(Http http, String baseUrl, String consumerKey, String consumerSecret) throws Exception
{
// load available services
Services services = new Services(http, baseUrl);
services.discover();
ServiceItem request = services.getItem("http://oauth.net/core/1.0/endpoint/request");
ServiceItem authorization = services.getItem("http://oauth.net/core/1.0/endpoint/authorize");
ServiceItem access = services.getItem("http://oauth.net/core/1.0/endpoint/access");