I'm having an issue with a line of code in c# to make a OAuth2.0 request. The code is like this:
WebServerClient consumer = new WebServerClient(CGmail.serverGmail, CGmail.clientIDGmail, CGmail.clientSecretGmail);
consumer.ClientCredentialApplicator = ClientCredentialApplicator.PostParameter(CGmail.clientSecretGmail);
IAuthorizationState grantedAccess = null;
try
{
grantedAccess = consumer.ProcessUserAuthorization(Request);
}
catch (Exception ex)
{
}
the line grantedAccess = consumer.ProcessUserAuthorization(Request); is throwing the following error:
This was working fine until yesterday, I haven't done any change to this functionality. Does anyone know what could happend?.
