commit | 304c53bee646de71fc572ed48e801dc6cca5a20f | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Nov 29 14:21:33 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Nov 29 14:21:33 2018 +0900 |
tree | 730725448f1c84adf0c4b935b5e551d43517292b | |
parent | 97412c6a44aeb198717e53646ce989231101c4e3 [diff] | |
parent | 28246019cc6adeea69ec995adcb7a008820baa17 [diff] |
Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Add explanatory comment to empty BUILD file(s) Change-Id: I784a6738c8b5ca3ac42d0f16d75a31e00e27dee0
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