Any way to disable / not use oAuth on Magento's REST API?

oauth

Solution

Temporary disable the oAuth:

- Make sure you have an Admin User Type role under: System -> Web Services -> REST - Roles. If not, add a new role and specify your desired Role API Rsources.

- Make sure you have full right for REST Attributes under: System -> Web Services -> REST - Attributes for the Admin User Type.

- Trick Magento Auth Model into thinking it has loaded the admin user:

Have a look at the Mage_Api2_Model_Auth model under app/code/core/Mage/Api2/Model/Auth.php

public function authenticate(Mage_Api2_Model_Request $request)
{
  ...
  $authAdapter   = Mage::getModel('api2/auth_adapter');
  $userParamsObj = $authAdapter->getUserParams($request);
  // Added code:
  $userParamsObj->type = 'admin';
  $userParamsObj->id = 1;
}

Problem

Is it possible to (temporarily?) disable the requirement for oAuth in Magento and still retrieve product data etc. through the REST API? So basically be able to issue GET requests over HTTP without using oAuth and still have data returned? Thanks,

Original source