Open shayanhusaini opened 7 years ago
Hi, Please update the method in Server.php file with the following:
public function verifyResourceRequest(\OAuth2\RequestInterface $request = null, \OAuth2\ResponseInterface $response = null, $scope = null) { if($request === null) { $request = $this->module->getRequest(); } return parent::verifyResourceRequest($request, $response, $scope); }
Currently it is:
public function verifyResourceRequest(\OAuth2\RequestInterface $request = null, \OAuth2\ResponseInterface $response = null, $scope = null) { if($request === null) { $request = $this->module->getRequest(); } parent::verifyResourceRequest($request, $response, $scope); }
so irrespective of value it always returns null
httpd 2.4.x , .htaccess add CGIPassAuth on。or RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
Hi, Please update the method in Server.php file with the following:
Currently it is:
so irrespective of value it always returns null