commit | 21ecae8cbb72c337b3d4af8befb590356afa100e | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Oct 01 13:56:46 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Oct 01 13:56:46 2018 +0900 |
tree | dca11cdb5fc79bb11904954f347102b566cde48a | |
parent | 0244138ffb5a50282768bfcd9afa6dff4815d99c [diff] | |
parent | 3f0dfee03d8f2ab44f7bc330e5220a51269cf89e [diff] |
Merge branch 'stable-2.14' * stable-2.14: Update bazlets to latest stable-2.14 to build with 2.14.14 API Update bazlets to latest stable-2.14 to build with 2.14.13 API Change-Id: I0348ab2d6d585ee01b7d2505cac7e8c5f5db5f80
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/gerrit-oauth-provider.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