{"issue":{"created_at":"2011-12-13T03:46:20Z","state":"closed","updated_at":"2011-12-13T04:18:15Z","comments":2,"user":{"gravatar_id":"584133eb06dc88c1118dc4e958ec79b5","id":779813,"url":"https://api.github.com/users/heelhook","login":"heelhook","avatar_url":"https://secure.gravatar.com/avatar/584133eb06dc88c1118dc4e958ec79b5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"","assignee":null,"id":2532549,"pull_request":{"patch_url":"https://github.com/intridea/omniauth-github/pull/4.patch","html_url":"https://github.com/intridea/omniauth-github/pull/4","diff_url":"https://github.com/intridea/omniauth-github/pull/4.diff"},"labels":[],"number":4,"title":"Add scope support","html_url":"https://github.com/intridea/omniauth-github/issues/4","closed_at":"2011-12-13T04:10:31Z","url":"https://api.github.com/repos/intridea/omniauth-github/issues/4","milestone":null},"action":"created","comment":{"created_at":"2011-12-13T04:18:15Z","updated_at":"2011-12-13T04:18:15Z","user":{"gravatar_id":"584133eb06dc88c1118dc4e958ec79b5","id":779813,"url":"https://api.github.com/users/heelhook","login":"heelhook","avatar_url":"https://secure.gravatar.com/avatar/584133eb06dc88c1118dc4e958ec79b5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"When using it with provider scope isn't getting picked up:\r\n\r\n```ruby\r\nRails.application.config.middleware.use OmniAuth::Builder do\r\n  provider :github, key, secret, scope: 'repo'\r\nend\r\n```\r\n\r\nDidn't pick up the scope.\r\n","id":3118603,"url":"https://api.github.com/repos/intridea/omniauth-github/issues/comments/3118603"}}