我已经设置了一个gerrit服务器,并希望使用 github.com 进行openID身份验证。
但是,我无法登录。如果我将网址命名为https://github.com/openid或http://github.com/openid,
我收到错误“提供商不受支持,或输入错误。”
以下是我的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
我想念什么?请帮忙。
答案 0 :(得分:4)
GitHub不幸不是OpenID身份验证提供程序。 https://github.com/openid不是OpenID身份验证网址,但实际上是OpenID Foundation的GitHub帐户。