Closed
Description
I tried to use RestSharper as client for MAAS RestAPI and stumbled upon an issue with OAuth 1.0 authentication implementation.
RestSharper does not allow empty consumer secret, this is incorrect cause consumer secret can be empty string. "The Consumer Secret MAY be an empty string" from OAuth Core 1.0
In OAuthWorkflow exception is being thrown if consumer secret is empty:
if (this.ConsumerSecret.IsNullOrBlank())
{
throw new ArgumentException("You must specify a consumer secret");
}