lib/sorcery/controller/submodules/external/providers/github.rb in sorcery-0.7.13 vs lib/sorcery/controller/submodules/external/providers/github.rb in sorcery-0.8.0

- old
+ new

@@ -32,18 +32,20 @@ :secret, :callback_url, :auth_path, :token_path, :site, + :scope, :user_info_path, :user_info_mapping attr_reader :access_token include Protocols::Oauth2 def init @site = "https://github.com/" @user_info_path = "https://api.github.com/user" + @scope = nil @auth_path = "/login/oauth/authorize" @token_path = "/login/oauth/access_token" @user_info_mapping = {} end