commit | 63ac38b6262b3073e3c2d8078e52e472b659701e | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Fri Oct 18 10:48:38 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Fri Oct 18 12:15:24 2019 +0900 |
tree | 8709d6053099260c4fbd08e6d754e069b6548b4a | |
parent | 6a83d5a92adc09eba6426bddb2f5c25ede414317 [diff] |
Upgrade bazlets to latest master to build with 3.1.0-rc0 API Change-Id: Ia153fc2356370a3fc6a1f22c903629a0be067d7d
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-genfiles/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