summaryrefslogtreecommitdiff
path: root/config/gitlab.yml.example
diff options
context:
space:
mode:
authorAlex Lossent <alexandre.lossent@cern.ch>2015-05-27 17:40:21 +0200
committerAlex Lossent <alexandre.lossent@cern.ch>2015-05-29 18:15:03 +0200
commit5491f6fbdeeff35589ef5b6f0aa3264a77e9aa36 (patch)
tree83003424350eb8b72a95bd68be1e8aee2ddd9fc8 /config/gitlab.yml.example
parenta3b60982e59b7a3be052a62b5d89393d12c64562 (diff)
downloadgitlab-ce-5491f6fbdeeff35589ef5b6f0aa3264a77e9aa36.tar.gz
Add an option to automatically sign-in with an Omniauth provider without showing the GitLab sign-in page
This is useful when integrating with existing SSO environments and we want to use a single Omniauth provider for all user authentication.
Diffstat (limited to 'config/gitlab.yml.example')
-rw-r--r--config/gitlab.yml.example4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 5acfe548502..c7f22b9388b 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -182,6 +182,10 @@ production: &base
# Allow login via Twitter, Google, etc. using OmniAuth providers
enabled: false
+ # Uncomment this to automatically sign in with a specific omniauth provider's without
+ # showing GitLab's sign-in page (default: show the GitLab sign-in page)
+ # auto_sign_in_with_provider: saml
+
# CAUTION!
# This allows users to login without having a user account first (default: false).
# User accounts will be created automatically when authentication was successful.