mulesoft/mule-devkit — Issue #79: Authorize processor expects OAuth verifier to be set even when restoring
Author: dandiep
Created: 2012-01-18 23:45:44+00:00
State: open

My config:

When I invoke this flow, it forces me to do the oauth dance because the OAuth verifier isn't set:

if (castedModuleObject.getOauthVerifier() == null) {
String authorizationUrl = castedModuleObject.getAuthorizationUrl();
event.getMessage().setOutboundProperty("http.status", "302");
event.getMessage().setOutboundProperty("Location", authorizationUrl);
return event;
}

But I shouldn't have to set the oauth verifier if my access token/secret are set.

If I try to skip the authorize step, my MP complains.