intridea/omniauth-github — Issue #1: Scope not being passed to GitHub
Author: timsegraves
Created: 2011-11-05 06:07:04+00:00
State: open

I was having this problem with the old version of the OmniAuth GitHub plugin and just upgraded to 1.0 and am having the same problem. I can authenticate with GitHub just fine but it's just granting the default scope which is to only have read access to the public scope but I need to access private repos as well.

I'll keep digging through the code and see if I can come up with a patch but I just wanted to make sure I wasn't missing something obvious. Thanks.

```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :github, 'aaa111', 'bbb222', :scope => 'user,repo'
end
```