{"action":"created","issue":{"url":"https://api.github.com/repos/ropensci/rorcid/issues/26","repository_url":"https://api.github.com/repos/ropensci/rorcid","labels_url":"https://api.github.com/repos/ropensci/rorcid/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/rorcid/issues/26/comments","events_url":"https://api.github.com/repos/ropensci/rorcid/issues/26/events","html_url":"https://github.com/ropensci/rorcid/issues/26","id":153612638,"number":26,"title":"Any reason to support oauth and any routes that use it?","user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ropensci/rorcid/milestones/2","html_url":"https://github.com/ropensci/rorcid/milestones/v0.3","labels_url":"https://api.github.com/repos/ropensci/rorcid/milestones/2/labels","id":1446472,"number":2,"title":"v0.3","description":"","creator":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":5,"state":"open","created_at":"2015-12-06T18:08:52Z","updated_at":"2016-09-14T02:43:18Z","due_on":"2016-09-30T00:00:00Z","closed_at":null},"comments":12,"created_at":"2016-05-07T19:24:36Z","updated_at":"2016-09-14T16:28:25Z","closed_at":null,"body":"not sure yet if any use cases make sense in R"},"comment":{"url":"https://api.github.com/repos/ropensci/rorcid/issues/comments/247071826","html_url":"https://github.com/ropensci/rorcid/issues/26#issuecomment-247071826","issue_url":"https://api.github.com/repos/ropensci/rorcid/issues/26","id":247071826,"user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T16:28:25Z","updated_at":"2016-09-14T16:28:25Z","body":"@rcpeters Weirdness is happening. When using authentication it works fine with \r\n\r\n```\r\ncurl -v -H \"Accept: application/orcid+json\" -H \"Authorization: Bearer <token>\" 'https://pub.orcid.org/v1.2/search/orcid-bio?q=keyword%3Aecology&rows=3' | jq .\r\n#> Success 200\r\n```\r\n\r\nor \r\n\r\n```\r\ncurl -v -H \"Accept: application/orcid+json\" -H \"Authorization: Bearer <token> 'https://pub.orcid.org/v1.2/search/orcid-bio?q=10.1087%2F20120404' | jq .\r\n#> Success 200\r\n```\r\n\r\nBut fails on \r\n\r\n```\r\ncurl -v -H \"Accept: application/orcid+json\" -H \"Authorization: Bearer <token>\" 'https://pub.orcid.org/v1.2/0000-0002-9341-7985/orcid-profile' | jq .\r\n#> Error: 403 - Security problem : Insufficient or wrong scope [/authenticate]\r\n```\r\n\r\nBUT, the above request works fine with no authentication\r\n\r\n```\r\ncurl -v -H \"Accept: application/orcid+json\" 'https://pub.orcid.org/v1.2/0000-0002-9341-7985/orcid-profile' | jq .\r\n#> Success 200\r\n```\r\n\r\nAny guesses as to what's going on here?  \r\n\r\nwrt scopes, AFAICT from http://members.orcid.org/api/orcid-scopes the `/authenticate` scope is the only one users can use on the public API, correct?"}}
{"actor":{"display_login":"sckott"}}