commit | 204a1494301b27cb77edb6c8dd68452a22fd7719 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Thu Nov 26 11:35:52 2020 -0500 |
committer | Marco Miller <marco.miller@ericsson.com> | Thu Nov 26 11:35:52 2020 -0500 |
tree | 3467b8fbaa9a0be52ab91e4ebc1e82211b9b2765 | |
parent | 001a33ecbc57b7e7b74fbe6cc2eb54e06480697f [diff] | |
parent | 3da46da327f54cbbcb121e039fe4621219b4c227 [diff] |
Merge branch 'stable-3.1' into master * stable-3.1: Upgrade bazlets to latest stable-3.1 to build with 3.1.10 API Change-Id: I3ea050e71dc1b9799edadf20d536ab59c13524ed
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