{"action":"created","issue":{"url":"https://api.github.com/repos/r-lib/httr/issues/485","repository_url":"https://api.github.com/repos/r-lib/httr","labels_url":"https://api.github.com/repos/r-lib/httr/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/r-lib/httr/issues/485/comments","events_url":"https://api.github.com/repos/r-lib/httr/issues/485/events","html_url":"https://github.com/r-lib/httr/pull/485","id":260641530,"node_id":"MDExOlB1bGxSZXF1ZXN0MTQzMTQ4MTE4","number":485,"title":"Fix basic auth on OAuth2  client credentials flow","user":{"login":"peterhartman","id":1226762,"node_id":"MDQ6VXNlcjEyMjY3NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1226762?v=4","gravatar_id":"","url":"https://api.github.com/users/peterhartman","html_url":"https://github.com/peterhartman","followers_url":"https://api.github.com/users/peterhartman/followers","following_url":"https://api.github.com/users/peterhartman/following{/other_user}","gists_url":"https://api.github.com/users/peterhartman/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhartman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhartman/subscriptions","organizations_url":"https://api.github.com/users/peterhartman/orgs","repos_url":"https://api.github.com/users/peterhartman/repos","events_url":"https://api.github.com/users/peterhartman/events{/privacy}","received_events_url":"https://api.github.com/users/peterhartman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-09-26T14:19:07Z","updated_at":"2018-11-21T00:17:03Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/r-lib/httr/pulls/485","html_url":"https://github.com/r-lib/httr/pull/485","diff_url":"https://github.com/r-lib/httr/pull/485.diff","patch_url":"https://github.com/r-lib/httr/pull/485.patch"},"body":"It looks like `init_oauth2.0` is not passing `use_basic_auth` onwards. I tried (and failed) to create a test for the client credentials flow using httpbin. I can't find a public API suitable for testing against unfortunately. "},"comment":{"url":"https://api.github.com/repos/r-lib/httr/issues/comments/440478002","html_url":"https://github.com/r-lib/httr/pull/485#issuecomment-440478002","issue_url":"https://api.github.com/repos/r-lib/httr/issues/485","id":440478002,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDQ3ODAwMg==","user":{"login":"peterhartman","id":1226762,"node_id":"MDQ6VXNlcjEyMjY3NjI=","avatar_url":"https://avatars0.githubusercontent.com/u/1226762?v=4","gravatar_id":"","url":"https://api.github.com/users/peterhartman","html_url":"https://github.com/peterhartman","followers_url":"https://api.github.com/users/peterhartman/followers","following_url":"https://api.github.com/users/peterhartman/following{/other_user}","gists_url":"https://api.github.com/users/peterhartman/gists{/gist_id}","starred_url":"https://api.github.com/users/peterhartman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterhartman/subscriptions","organizations_url":"https://api.github.com/users/peterhartman/orgs","repos_url":"https://api.github.com/users/peterhartman/repos","events_url":"https://api.github.com/users/peterhartman/events{/privacy}","received_events_url":"https://api.github.com/users/peterhartman/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T00:17:03Z","updated_at":"2018-11-21T00:17:03Z","author_association":"NONE","body":"@jimhester I see you were able to request a review for #507, does this PR seem worth considering? I am happy to put more work in if something is missing."}}
{"actor":{"display_login":"peterhartman"}}