我已经安装了Apache2和Shibboleth的Gitlab EE。配置工作正常,我认为我获得了验证所需的所有数据。我在gitlab.rb中将debug设置为false但是我总是得到带有sso回调的播放消息。我错过了什么吗?我在哪里必须将debug设置为false?
!!!!! This message is generated by omniauth-shibboleth. To remove it set :debug to false. !!!!!
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7,it;q=0.6,fr;q=0.5
HTTP_AFFILIATION: ....
...
这是我的gitlab配置的一部分:
gitlab_rails['omniauth_providers'] = [
{
"name" => 'shibboleth',
"args" => {
"debug" => "false",
"shib_session_id_field" => "HTTP_SHIB_SESSION_ID",
"shib_application_id_field" => "HTTP_SHIB_APPLICATION_ID",
"uid_field" => 'HTTP_UID',
"name_field" => 'HTTP_DISPLAYNAME',
"info_fields" => { "email" => 'HTTP_EMAIL'}
}
}
]