commit | 5db9c808542c5afbf4046e17e175967f02ce18d3 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Feb 06 08:23:14 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Feb 06 08:23:14 2020 +0900 |
tree | 2b09ac63539c5f99058c4ab71ba142c7574257bc | |
parent | cb750e864463d8c1cc8657668a7de9a496585c62 [diff] | |
parent | 952efd5d1f7c7b5883299e798867335196af1907 [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Upgrade bazlets to latest stable-2.16 to build with 2.16.16 API Change-Id: I3a7e92ba6a88b2e1e277c0c4541f62fc163967f4
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