commit | 3da46da327f54cbbcb121e039fe4621219b4c227 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Tue Nov 24 16:27:53 2020 -0500 |
committer | Marco Miller <marco.miller@ericsson.com> | Tue Nov 24 16:27:53 2020 -0500 |
tree | cca63207584f8ef6875c89e934c53cec0b10e5c9 | |
parent | 6543b4325ca678e62d583ae4b59acd5e56b723a7 [diff] |
Upgrade bazlets to latest stable-3.1 to build with 3.1.10 API Change-Id: I70940e6e4a0cd80dc86f916e6d5e07bcb1ba1ec7
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