about summary refs log tree commit diff
path: root/third_party/gerrit_plugins/oauth/cas-6x.patch (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-04-12 r/2499 fix(3p/gerrit_plugins/oauth): adapt to CAS "flat" attributesLuke Granger-Brown1-14/+42
CAS nested attributes produce a key called "attributes", which is disliked by Grafana, because it expects any key called attributes to be a map<string, list<string>>, whereas CAS just produces a map<string, string>. As part of setting up Grafana SSO we need therefore to fix Gerrit so it can adapt to the new syntax that we're adopting. Change-Id: Ia79dae78c0eae6e21135a06cd5850606f82bcdb8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2981 Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
2021-04-03 r/2415 chore(3p/gerrit_plugins): init oauthLuke Granger-Brown1-0/+41
Add the OAuth gerrit plugin to our mini collection of Gerrit plugins. This includes a patch to make the plugin work correctly with CAS 6.x, which has changed the attributes into a JSON object with the attributes nested inside, instead of a JSON list. Change-Id: I4741f137cca9c8eb45b9ea660fb4cbf6962be9a4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2782 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>