commit | e2573ca78db2d303cc23d5f0af0c7e6f8f86e6cf | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Sun Dec 29 12:47:02 2019 -0500 |
committer | Marco Miller <marco.miller@ericsson.com> | Sun Dec 29 14:32:54 2019 -0500 |
tree | 91feec3635fde3fe4b72e553d69b89527bd683cc | |
parent | 014b89dad2a083356fedb4d335e7e8cd85f8b854 [diff] |
Bump Bazel version to 2.0.0 Change-Id: I7a1053df56b4d73ca7b5d4bd7a7f947ca9bff614
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