lib/stoor/github_auth.rb in stoor-0.1.6 vs lib/stoor/github_auth.rb in stoor-0.1.7
- old
+ new
@@ -1,9 +1,9 @@
module Stoor
class GithubAuth < Sinatra::Base
set :github_options, {
- :scopes => "user:email",
+ :scopes => "user,user:email",
:client_id => ENV['STOOR_GITHUB_CLIENT_ID'],
:secret => ENV['STOOR_GITHUB_CLIENT_SECRET']
}
register Sinatra::Auth::Github