commit | b4c00fd5389664a800b0d3bd73381b506091313f | [log] [tgz] |
---|---|---|
author | Jacek Centkowski <jcentkowski@digital.ai> | Wed Jan 13 08:38:21 2021 +0100 |
committer | Jacek Centkowski <jcentkowski@digital.ai> | Wed Jan 13 08:38:21 2021 +0100 |
tree | 372cdf6a980bfc6397bd9bdf147cc8ced7008976 | |
parent | 3da46da327f54cbbcb121e039fe4621219b4c227 [diff] |
Upgrade bazlets to latest stable-3.1 to build with 3.1.11 API Change-Id: Ic3c7aa0c61df37421159c65ee04749450f6bfc8d
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