commit | 20d562676cea6bc217379a0ac063b18aa00de38c | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Mon Mar 18 15:21:17 2019 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Mon Mar 18 15:21:17 2019 -0400 |
tree | 13bd6a65b3b9e6202088e447717a5234e3fe80a4 | |
parent | 94cc0e4cef98f7537217315b8d27cd555bf88fbc [diff] | |
parent | 3392aa150449ecc3d8083c7d6bcbc57146f8e56e [diff] |
Merge branch 'stable-2.16' * stable-2.16: Upgrade bazlets to latest stable-2.16 to build with 2.16.7 API Upgrade bazlets to latest stable-2.15 to build with 2.15.12 API Upgrade bazlets to latest stable-2.14 to build with 2.14.19 API Change-Id: I1ac4de33d247bd90997528d9dda3432b2378d63a
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