{"action":"created","issue":{"url":"https://api.github.com/repos/UnbounDev/node-strava-v3/issues/61","repository_url":"https://api.github.com/repos/UnbounDev/node-strava-v3","labels_url":"https://api.github.com/repos/UnbounDev/node-strava-v3/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/UnbounDev/node-strava-v3/issues/61/comments","events_url":"https://api.github.com/repos/UnbounDev/node-strava-v3/issues/61/events","html_url":"https://github.com/UnbounDev/node-strava-v3/issues/61","id":227388699,"number":61,"title":"oauth.getToken() wrongly requires access_token","user":{"login":"markstos","id":25829,"avatar_url":"https://avatars2.githubusercontent.com/u/25829?v=3","gravatar_id":"","url":"https://api.github.com/users/markstos","html_url":"https://github.com/markstos","followers_url":"https://api.github.com/users/markstos/followers","following_url":"https://api.github.com/users/markstos/following{/other_user}","gists_url":"https://api.github.com/users/markstos/gists{/gist_id}","starred_url":"https://api.github.com/users/markstos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstos/subscriptions","organizations_url":"https://api.github.com/users/markstos/orgs","repos_url":"https://api.github.com/users/markstos/repos","events_url":"https://api.github.com/users/markstos/events{/privacy}","received_events_url":"https://api.github.com/users/markstos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-09T14:37:26Z","updated_at":"2017-05-09T14:38:03Z","closed_at":null,"body":"The [`oauth/token` endpoint  does not require that an access token be sent to Strava.](https://strava.github.io/api/v3/oauth/#post-token)\r\n\r\nHowever, this library implements it using  `oauth.getToken()` and the shared `util.postEndpoint()` function, which *does* require an access token because another consumer of `postEndpoint` *does* require an access_token. \r\n\r\nFor privacy and security, calls to `oauth.getToken()` should not require an access_token."},"comment":{"url":"https://api.github.com/repos/UnbounDev/node-strava-v3/issues/comments/300185554","html_url":"https://github.com/UnbounDev/node-strava-v3/issues/61#issuecomment-300185554","issue_url":"https://api.github.com/repos/UnbounDev/node-strava-v3/issues/61","id":300185554,"user":{"login":"markstos","id":25829,"avatar_url":"https://avatars2.githubusercontent.com/u/25829?v=3","gravatar_id":"","url":"https://api.github.com/users/markstos","html_url":"https://github.com/markstos","followers_url":"https://api.github.com/users/markstos/followers","following_url":"https://api.github.com/users/markstos/following{/other_user}","gists_url":"https://api.github.com/users/markstos/gists{/gist_id}","starred_url":"https://api.github.com/users/markstos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstos/subscriptions","organizations_url":"https://api.github.com/users/markstos/orgs","repos_url":"https://api.github.com/users/markstos/repos","events_url":"https://api.github.com/users/markstos/events{/privacy}","received_events_url":"https://api.github.com/users/markstos/received_events","type":"User","site_admin":false},"created_at":"2017-05-09T14:38:03Z","updated_at":"2017-05-09T14:38:03Z","body":"I may address this today as part of another refactor I'm working on."}}
{"actor":{"display_login":"markstos"}}