feat(monorepo-gerrit): Configure for Keycloak compatibility
Change-Id: Ic3fce02b071c09cf03e652510f16bafb795a5a1d Reviewed-on: https://cl.tvl.fyi/c/depot/+/4614 Autosubmit: tazjin <mail@tazj.in> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
parent
798b439c4b
commit
738cca62c1
2 changed files with 6 additions and 5 deletions
|
@ -94,12 +94,13 @@ in {
|
|||
html = "<a href=\"https://cl.tvl.fyi/$1\">cl/$1</a>";
|
||||
};
|
||||
|
||||
# Configures integration with CAS, which then integrates with a variety
|
||||
# of backends.
|
||||
# Configures integration with Keycloak, which then integrates with a
|
||||
# variety of backends.
|
||||
auth.type = "OAUTH";
|
||||
plugin.gerrit-oauth-provider-cas-oauth = {
|
||||
root-url = "https://login.tvl.fyi";
|
||||
client-id = "OAUTH-TVL-gerrit-Fv0d8Aizz5";
|
||||
plugin.gerrit-oauth-provider-keycloak-oauth = {
|
||||
root-url = "https://auth.tvl.fyi";
|
||||
realm = "TVL";
|
||||
client-id = "gerrit";
|
||||
# client-secret is set in /var/lib/gerrit/etc/secure.config.
|
||||
};
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue