Created
October 9, 2013 02:17
-
-
Save yongjhih/6895122 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb │·············· | |
index 39c1b7c2..e645bd5 100644 │·············· | |
--- a/config/initializers/devise.rb │·············· | |
+++ b/config/initializers/devise.rb │·············· | |
@@ -224,6 +224,8 @@ Devise.setup do |config| │·············· | |
end │·············· | |
│·············· | |
Gitlab.config.omniauth.providers.each do |provider| │·············· | |
+ # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo' │·············· | |
+ #config.omniauth provider['name'].to_sym, provider['app_id'], provider['app_secret'], :scope => 'user:email' │·············· | |
case provider['args'] │·············· | |
when Array │·············· | |
# An Array from the configuration will be expanded. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment