Project: mule
Issue MULE-8277: OAuth2 postAuthorize() with an expired token fails even if token was refreshed
The Box connector has a postAuthorize method that invokes one of the connector's processors. When one of the connector's processors is invoked and the postAuthorize is called with an expired access token, the BaseOAuth2Manager is able to refresh the access token but re-throws the token expired exception which makes processor invocation fail. I believe the issue can be found in the following method: org.mule.security.oauth.BaseOAuth2Manager.postAuth(OAuth2Adapter, String)
Story points: 1