commit | d9a62c9db2ee365fbec97d3ba87591418a73cbe0 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Sep 05 14:36:36 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Sep 05 14:36:36 2019 +0900 |
tree | 14aa1ab72bcc7a24b85a8ceee263d28efc49df25 | |
parent | b09fed2d21364d4fe69ebb41d3c543052c2a9b07 [diff] | |
parent | 76515aa3786f8fcce32ab54b0d863821d1b9520c [diff] |
Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Bazel: Add fixes for --incompatible_load_java_rules_from_bzl Change-Id: I07898563d4a40d027fb22f6e241491c0b77f6152
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