summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-17 17:57:06 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-03-17 17:57:06 +0000
commit460291204d752c79fc8ea0a9b4a31b3395670782 (patch)
treef691403d28e6393f7ee31c90b894b200048df807
parent98af027f86075a2913d22407c2fb75caac0c9558 (diff)
downloadinfrastructure-460291204d752c79fc8ea0a9b4a31b3395670782.tar.gz
gerrit: Make OpenID single sign-in work properly
The 'Sign in' link now forwards straight to http://openid.baserock.org/.
-rw-r--r--baserock_gerrit/gerrit.config5
1 files changed, 5 insertions, 0 deletions
diff --git a/baserock_gerrit/gerrit.config b/baserock_gerrit/gerrit.config
index 395d5d34..d0d7c57d 100644
--- a/baserock_gerrit/gerrit.config
+++ b/baserock_gerrit/gerrit.config
@@ -10,7 +10,12 @@
type = LUCENE
[auth]
type = OPENID_SSO
+ allowedOpenID = http://openid.baserock.org/
trustedOpenID = http://openid.baserock.org/
+ # XRDS is a mechanism for saying 'here are the services I provide'. Gerrit
+ # expects the URL provided here to describe the OpenID provider service
+ # using XRDS.
+ openIdSsoUrl = http://openid.baserock.org/openid/xrds/
[sendemail]
smtpServer = localhost
[sshd]