diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index 1083e05c7..91c9a5cb0 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -51,7 +51,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do strategy.options[:client_id] = SiteSetting.github_client_id strategy.options[:client_secret] = SiteSetting.github_client_secret }, - :scope => "email" + :scope => "user:email" provider :browser_id, :name => "persona"