Allow Omniauth providers to be marked as external
This commit is contained in:
parent
eb79223ad6
commit
7dd68edf2a
|
@ -162,6 +162,7 @@ external_url 'GENERATED_EXTERNAL_URL'
|
|||
# gitlab_rails['omniauth_block_auto_created_users'] = true
|
||||
# gitlab_rails['omniauth_auto_link_ldap_user'] = false
|
||||
# gitlab_rails['omniauth_auto_link_saml_user'] = false
|
||||
# gitlab_rails['omniauth_external_providers'] = ['twitter', 'google_oauth2']
|
||||
# gitlab_rails['omniauth_providers'] = [
|
||||
# {
|
||||
# "name" => "google_oauth2",
|
||||
|
|
|
@ -150,6 +150,7 @@ default['gitlab']['gitlab-rails']['omniauth_auto_sign_in_with_provider'] = nil
|
|||
default['gitlab']['gitlab-rails']['omniauth_block_auto_created_users'] = nil
|
||||
default['gitlab']['gitlab-rails']['omniauth_auto_link_ldap_user'] = nil
|
||||
default['gitlab']['gitlab-rails']['omniauth_auto_link_saml_user'] = nil
|
||||
default['gitlab']['gitlab-rails']['omniauth_external_providers'] = nil
|
||||
default['gitlab']['gitlab-rails']['omniauth_providers'] = []
|
||||
default['gitlab']['gitlab-rails']['bitbucket'] = nil
|
||||
|
||||
|
|
|
@ -265,6 +265,12 @@ production: &base
|
|||
# (default: false)
|
||||
auto_link_saml_user: <%= @omniauth_auto_link_saml_user.to_json %>
|
||||
|
||||
# Set different Omniauth providers as external so that all users creating accounts
|
||||
# via these providers will not be able to have access to internal projects. You
|
||||
# will need to use the full name of the provider, like `google_oauth2` for Google.
|
||||
# Refer to the examples below for the full names of the supported providers.
|
||||
# (default: [])
|
||||
external_providers: <%= @omniauth_external_providers.to_json %>
|
||||
|
||||
## Auth providers
|
||||
# Uncomment the following lines and fill in the data of the auth provider you want to use
|
||||
|
|
Loading…
Reference in New Issue