commit | c4e45bab4245fe398e760c5f8a98c681a0edb855 | [log] [tgz] |
---|---|---|
author | Jacek Centkowski <jcentkowski@digital.ai> | Fri Jan 15 08:48:58 2021 +0100 |
committer | Jacek Centkowski <jcentkowski@digital.ai> | Fri Jan 15 08:48:58 2021 +0100 |
tree | 6b702a89795e47e56900280c33e1745e4ef6cfc9 | |
parent | 9c1dc266a34768c448638c9eab8c3e35e9fe5c62 [diff] | |
parent | b4c00fd5389664a800b0d3bd73381b506091313f [diff] |
Merge branch 'stable-3.1' Change-Id: I512cc1997056289080413a42494df5a5fa820855
With this plugin Gerrit can use OAuth2 protocol for authentication. Supported OAuth providers:
See the Wiki what it can do for you.
Prebuilt binary artifacts are available on release page. Make sure to pick the right JAR for your Gerrit version.
To build the plugin with Bazel, install Bazel and run the following:
git clone https://gerrit.googlesource.com/plugins/oauth cd oauth && bazel build oauth
Copy the bazel-bin/oauth.jar
to $gerrit_site/plugins
and re-run init to configure it:
java -jar gerrit.war init -d <site> [...] *** OAuth Authentication Provider *** Use Bitbucket OAuth provider for Gerrit login ? [Y/n]? n Use Google OAuth provider for Gerrit login ? [Y/n]? Application client id : <client-id> Application client secret : confirm password : Link to OpenID accounts? [true]: Use GitHub OAuth provider for Gerrit login ? [Y/n]? n
Make sure to read the FAQ before reporting issues.
Apache License 2.0