feat: init repo for gitlab iac
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
GITLAB_OMNIBUS_CONFIG="
|
||||
external_url = 'https://gitlab.nstest.local'
|
||||
nginx['listen_port'] = 8081
|
||||
nginx['listen_https'] = false
|
||||
gitlab_rails['omniauth_enabled'] = true
|
||||
gitlab_rails['omniauth_allow_single_sign_on'] = true
|
||||
gitlab_rails['omniauth_auto_sing_in_with_provider'] = 'openid_connect'
|
||||
gitlab_rails['omniauth_block_auto_created_users'] = false
|
||||
gitlab_rails['omniauth_auto_link_ldap_user'] = false
|
||||
gitlab_rails['omniauth_auto_link_user'] = ['openid_connect']
|
||||
gitlab_rails['gitlab_ssh_host'] = 'ssh.gitlab.nstest.local'
|
||||
gitlab_rails['omniauth_providers'] = [{
|
||||
name: 'openid_connect',
|
||||
label: 'Новый Старт ID',
|
||||
args: {
|
||||
name: 'openid_connect',
|
||||
scope: %w[openid profile email],
|
||||
response_type: 'code',
|
||||
issuer: 'https://auth.nstart.space/realms/nstart',
|
||||
discovery: true,
|
||||
client_auth_method: 'basic',
|
||||
uid_field: 'preferred_username',
|
||||
pkce: false,
|
||||
client_options: {
|
||||
identifier: 'gitlab',
|
||||
secret: '',
|
||||
redirect_uri: 'https://gitlab.nstest.local/users/auth/openid_connect/callback',
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
||||
"
|
||||
Reference in New Issue
Block a user