commit | 623aabf4bf35cf7c45c3f3d7da2b96c273b647f3 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Thu Sep 05 15:36:56 2019 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Thu Sep 05 15:40:25 2019 -0400 |
tree | 9ad08bfa0773b814e0ecd735d0393e4414cc6c50 | |
parent | faa5eebee5b9ca4d37cb18e2ae4c82aec711583f [diff] | |
parent | d9a62c9db2ee365fbec97d3ba87591418a73cbe0 [diff] |
Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: Bazel: Add fixes for --incompatible_load_java_rules_from_bzl Change-Id: I0ec9221bf5ec7a0338afd780946115a3b4da6134
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