diff options
author | Patricio Cano <suprnova32@gmail.com> | 2016-02-19 10:41:54 -0500 |
---|---|---|
committer | Patricio Cano <suprnova32@gmail.com> | 2016-02-19 10:41:54 -0500 |
commit | 75ad91822d638f05f09da5c570dfe16b4a8dd8ea (patch) | |
tree | 3040e46d26e45c5c8c9c6a1e09c53a469500c358 /config | |
parent | 1817b766b2bdf03e886118bda5e1aee48b5c2413 (diff) | |
parent | 48467d3072825f3d0ebbf06af5ab25bc9e6f2888 (diff) | |
download | gitlab-ce-75ad91822d638f05f09da5c570dfe16b4a8dd8ea.tar.gz |
Merge branch 'saml-decoupling' into 'master'
Diffstat (limited to 'config')
-rw-r--r-- | config/gitlab.yml.example | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index faf05ecd466..05f127d622a 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -288,15 +288,22 @@ production: &base # auto_sign_in_with_provider: saml # CAUTION! - # This allows users to login without having a user account first (default: false). + # This allows users to login without having a user account first. Define the allowed providers + # using an array, e.g. ["saml", "twitter"], or as true/false to allow all providers or none. # User accounts will be created automatically when authentication was successful. - allow_single_sign_on: false + allow_single_sign_on: ["saml"] + # Locks down those users until they have been cleared by the admin (default: true). block_auto_created_users: true # Look up new users in LDAP servers. If a match is found (same uid), automatically # link the omniauth identity with the LDAP account. (default: false) auto_link_ldap_user: false + # Allow users with existing accounts to login and auto link their account via SAML + # login, without having to do a manual login first and manually add SAML + # (default: false) + auto_link_saml_user: false + ## Auth providers # Uncomment the following lines and fill in the data of the auth provider you want to use # If your favorite auth provider is not listed you can use others: |