commit | a77c3b61aa9c837b2e97eda342dabf2f7cf2faaf | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@digital.ai> | Sat Apr 25 13:57:44 2020 +0900 |
committer | David Pursehouse <dpursehouse@digital.ai> | Sat Apr 25 15:31:40 2020 +0900 |
tree | d5e41a121980267885f35660c961f5d26e0f1071 | |
parent | 87d399d434a58e572091a6715a801a64b8aa052a [diff] |
Upgrade bazlets to latest master to build with 3.2.0-rc0 API Change-Id: I472ecbb0bb49ecf8b4ee0fc42947e20ff4da57cf
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