commit | a676f4c3e321bf071111662473800fe50d023af7 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Tue Oct 22 16:34:08 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Tue Oct 22 16:34:08 2019 +0900 |
tree | 9ceff1a17345ed333be92054b742fa0444f5904a | |
parent | 63ac38b6262b3073e3c2d8078e52e472b659701e [diff] | |
parent | 9af1ec7e39785fdb2e2c0b90d20806eef5db5255 [diff] |
Merge branch 'stable-3.0' * stable-3.0: Remove bazel-genfiles from .gitignore Replace bazel-genfiles with bazel-bin in documentation Upgrade bazlets to latest stable-3.0 to build with 3.0.3 API Bump bazel version to 1.0.0 Upgrade bazlets to latest stable-2.16 to build with 2.16.12 API Upgrade bazlets to latest stable-2.15 to build with 2.15.17 API Change-Id: Ib76946cc383af4c581b6c067e63c634e62f43f05
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