commit | f77c0ec49036ca52a403ed0a2eda1435d7af948e | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Dec 05 13:50:54 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Dec 05 13:50:54 2018 +0900 |
tree | 442c4b995c5ebf7308409d1af2ba9c42068c048d | |
parent | 28246019cc6adeea69ec995adcb7a008820baa17 [diff] |
Bazel: Include eclipse-out directory in .bazelignore Since [1] (included since 0.17) Bazel added support for a .bazelignore file, allowing to specify directories that should be ignored. [1] https://github.com/bazelbuild/bazel/issues/4888 Change-Id: I8dfd9b5701dfcc85fd51f626af448d0306b02857
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