commit | fa25fe1c3434b5adf8012626909e3668af9f843e | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Dec 16 12:34:39 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Dec 16 12:34:39 2019 +0900 |
tree | 67d775514f7f0f186f029df7f71cda9e77ba1eba | |
parent | ba3cb68427e14a6a8247c052c18b089b0f39059b [diff] | |
parent | cc8e0ddb0b573f0b5d9b7f1db15dc38b5edce3b8 [diff] |
Merge branch 'stable-3.0' * stable-3.0: Upgrade bazlets to latest stable-3.0 to build with 3.0.6 API Upgrade bazlets to latest stable-2.16 to build with 2.16.15 API Change-Id: Ia2088b52c053aab96ffc1f93e200de1fc8b6f2e0
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