2014-01-20 148 views
2

我已經安裝了gerrit服務器並希望使用github.com進行openID身份驗證。無法用github openid登錄gerrit接口

但是,我無法登錄。如果我委託url爲https://github.com/openidhttp://github.com/openid,

我得到錯誤「Provider is not supported,or incorrectly entered。'

以下是我gerrit.config

[gerrit] 
     basePath = git 
     canonicalWebUrl = http://localhost:7070/ 
[database] 
     type = h2 
     database = db/ReviewDB 
[auth] 
     type = OpenID 
     trustedOpenID = https://github.com/openid 
[sendemail] 
     enable = false 
     smtpServer = localhost 
[container] 
     user = root 
     javaHome = /usr/lib/jvm/java-7-openjdk-amd64/jre 
[sshd] 
     listenAddress = *:29412 
[httpd] 
     listenUrl = http://*:7070/ 
[cache] 
     directory = cache 

我怎麼錯過?請幫助。

回答