您的位置:首页 > 其它

GitLab使用omniauth集成crowd登录

2017-04-05 19:23 274 查看
gitlab配置文件位置:
/etc/gitlab/gitlab.rb


gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = true
gitlab_rails['omniauth_block_auto_created_users'] = false

gitlab_rails['omniauth_providers'] = [
{
"name" => "crowd",
"args" => {
"crowd_server_url" => "http://192.168.2.55:8095/crowd",
"application_name" => "git.utd",
"application_password" => "git.utd"
}
}
]


修改配置后执行
gitlab-ctl reconfigure
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  gitlab crowd