summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-09-12 06:49:52 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-09-12 06:49:52 +0300
commit621affecb59b8ce5304370cfd7979fba2b73ff4e (patch)
tree2ff46b99e940d09b79c1929dae7a7ceeb7c02685 /config/gitlab.yml.example
parent40eec08c99fe29963afed0f073b7bdbbfe31ac59 (diff)
parent0dd94cd86ec0680432e58f2630a3a35fa84afd73 (diff)
downloadgitlab-ce-621affecb59b8ce5304370cfd7979fba2b73ff4e.tar.gz
Merge branch 'master' of https://github.com/funglaub/gitlabhq into funglaub-master
Conflicts: Gemfile.lock app/helpers/application_helper.rb app/views/devise/sessions/new.html.erb db/schema.rb
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 08e3427f900..809d7ee905f 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -50,3 +50,21 @@ git:
git_max_size: 5242880 # 5.megabytes
# Git timeout to read commit, in seconds
git_timeout: 10
+
+# Omniauth configuration
+omniauth:
+ enabled: false
+ providers:
+ allow_single_sign_on: false
+ block_auto_created_users: true
+
+# omniauth:
+# enabled: true
+# providers:
+# - { name: 'google_oauth2', app_id: 'YOUR APP ID',
+# app_secret: 'YOUR APP SECRET',
+# args: { access_type: 'offline', approval_prompt: '' } }
+# - { name: 'twitter', app_id: 'YOUR APP ID',
+# app_secret: 'YOUR APP SECRET'}
+# - { name: 'github', app_id: 'YOUR APP ID',
+# app_secret: 'YOUR APP SECRET' }