Closed schnubor closed 10 years ago
I've already added 'auth' => 'oath' to the client via the ClientFactory. It should work out of the box with the plugin. Could you dump your request to check if the oauth values are present like in the fixture for the tests (oauth_identity)?
I'll upload my Symfony2 sandbox tonight for testing OAuth. It works using the HWIOAuthBundle, which supports OAuth 1.0a.
Thanks. After double checking the request body I noticed the sent token was wrong. Refreshed all my tokens and now it's working. Sorry for the trouble.
I've obtained an access token + secret from discogs but can't seem to get the following working altough it does work with other (more complicated) clients:
following exception is thrown:
GuzzleHttp \ Command \ Exception \ CommandClientException Error executing command: Client error response [url] http://api.discogs.com/oauth/identity [status code] 401 [reason phrase] Unauthorized
So after reading the https://github.com/guzzle/oauth-subscriber instructions I added the
['auth' => 'oauth']
param to the getOAuthIdentity method in service.php:But still no luck. The oauth object itself is filled with the correct values. I'm using Laravel as a framework. I'm not sure if I'm doing something wrong here. Any ideas?