{"action":"created","issue":{"url":"https://api.github.com/repos/restsharp/RestSharp/issues/1166","repository_url":"https://api.github.com/repos/restsharp/RestSharp","labels_url":"https://api.github.com/repos/restsharp/RestSharp/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/restsharp/RestSharp/issues/1166/comments","events_url":"https://api.github.com/repos/restsharp/RestSharp/issues/1166/events","html_url":"https://github.com/restsharp/RestSharp/issues/1166","id":360382536,"node_id":"MDU6SXNzdWUzNjAzODI1MzY=","number":1166,"title":"API calls to Magento2 would fail with signature invalid errors","user":{"login":"artiomchi","id":822898,"node_id":"MDQ6VXNlcjgyMjg5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/822898?v=4","gravatar_id":"","url":"https://api.github.com/users/artiomchi","html_url":"https://github.com/artiomchi","followers_url":"https://api.github.com/users/artiomchi/followers","following_url":"https://api.github.com/users/artiomchi/following{/other_user}","gists_url":"https://api.github.com/users/artiomchi/gists{/gist_id}","starred_url":"https://api.github.com/users/artiomchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artiomchi/subscriptions","organizations_url":"https://api.github.com/users/artiomchi/orgs","repos_url":"https://api.github.com/users/artiomchi/repos","events_url":"https://api.github.com/users/artiomchi/events{/privacy}","received_events_url":"https://api.github.com/users/artiomchi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-14T17:00:07Z","updated_at":"2018-10-14T11:41:34Z","closed_at":"2018-10-14T11:41:34Z","author_association":"CONTRIBUTOR","body":"## Expected Behavior\r\nRestSharp should calculate a valid HMAC signature when making OAuth1 api requests\r\n\r\n<!-- If this issue is a feature request remove text below -->\r\n## Actual Behavior\r\nRequests would fail if any query string parameters are used, and are passed to Magento in the url field.\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n  1. Get Magento2 API OAuth credentials\r\n  2. Attempt to make API requests to Magento with query string params\r\n    e.g. to `customers/search?searchCriteria[sortOrders][0][field]=created_at&searchCriteria[sortOrders][0][direction]=DESC`\r\n  3. Request will fail on Magento side with `Invalid signature`\r\n\r\n## Specifications\r\n\r\n  - Version: 106.3.1\r\n  - Platform: Windows\r\n  - Subsystem:\r\n"},"comment":{"url":"https://api.github.com/repos/restsharp/RestSharp/issues/comments/429619478","html_url":"https://github.com/restsharp/RestSharp/issues/1166#issuecomment-429619478","issue_url":"https://api.github.com/repos/restsharp/RestSharp/issues/1166","id":429619478,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYxOTQ3OA==","user":{"login":"artiomchi","id":822898,"node_id":"MDQ6VXNlcjgyMjg5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/822898?v=4","gravatar_id":"","url":"https://api.github.com/users/artiomchi","html_url":"https://github.com/artiomchi","followers_url":"https://api.github.com/users/artiomchi/followers","following_url":"https://api.github.com/users/artiomchi/following{/other_user}","gists_url":"https://api.github.com/users/artiomchi/gists{/gist_id}","starred_url":"https://api.github.com/users/artiomchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artiomchi/subscriptions","organizations_url":"https://api.github.com/users/artiomchi/orgs","repos_url":"https://api.github.com/users/artiomchi/repos","events_url":"https://api.github.com/users/artiomchi/events{/privacy}","received_events_url":"https://api.github.com/users/artiomchi/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T11:41:34Z","updated_at":"2018-10-14T11:41:34Z","author_association":"CONTRIBUTOR","body":"Oh yeah, I forgot to close this one, thanks"}}
{"actor":{"display_login":"artiomchi"}}