Skip to content

Commit

Permalink
fixed client_secret_basic auth
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-novakov committed Jul 11, 2013
1 parent f3db82c commit 9f1ea29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/InoOicClient/Client/Authenticator/SecretBasic.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class SecretBasic extends AbstractSecretAuthenticator

public function setAuth(\Zend\Http\Request $httpRequest, $clientId, $clientSecret)
{
$httpRequest->getHeaders()->addHeaderLine('Authorization', $this->encode($clientId, $clientSecret));
$httpRequest->getHeaders()->addHeaderLine('Authorization', 'Basic ' . $this->encode($clientId, $clientSecret));
}


Expand Down

0 comments on commit 9f1ea29

Please sign in to comment.