Skip to content
Browse files

Merge pull request #326 from tricknotes/github-scope

Support setting about github scope
  • Loading branch information...
2 parents 3b9b21a + b5ed072 commit c6aeaabe75af250a9f511e7a5061432ea076e949 @ckruse ckruse committed Jul 27, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/sorcery/controller/submodules/external/providers/github.rb
View
2 lib/sorcery/controller/submodules/external/providers/github.rb
@@ -34,6 +34,7 @@ class << self
:auth_path,
:token_path,
:site,
+ :scope,
:user_info_path,
:user_info_mapping
attr_reader :access_token
@@ -43,6 +44,7 @@ class << self
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 = {}

0 comments on commit c6aeaab

Please sign in to comment.
Something went wrong with that request. Please try again.