I am creating a new api plugin for salesforce. I was having trouble authenticating because Salesforece require request_type in the authorization call.
I added the response_type to the database config and then added this on line 247 of OauthComponent
if (!empty($this->_config[$this->useDbConfig]['response_type'])) {
$redirect .= '&response_type=' . $this->_config[$this->useDbConfig]['response_type'];
}