我在使用GitLab安裝啓用Google身份驗證時遇到問題。我按照this guide添加了啓用Google身份驗證(界面發生了一些變化,但是我能夠生成我需要的聯繫人的記號,&我的域名的Google+ api訪問權限)。當我轉到我的GitLab登錄URL時,沒有提供者顯示。我也啓用了Omniauth。這裏是我的Gitlab.rb相關片段:無法在GitLab上啓用Google登錄(omniauth)CE
gitlab_rails['omniauth_enabled'] = true
gitlab_rails['omniauth_allow_single_sign_on'] = false
gitlab_rails['omniauth_block_auto_created_users'] = false
gitlab_rails['omniauth_providers'] = [
{
"name" => "google_oauth2",
"app_id" => "not-showing",
"app_secret" => "not-showing",
"args" => { "access_type" => "offline", "approval_prompt" => '' }
}
]
我傾向於,但認爲它是Omniauth本身的問題,因爲在我的GitLab管理儀表板,它不會顯示「的」綠色它旁邊的圖標:
我在Ubuntu 14.04上運行服務器。
任何對此的見解將不勝感激。