commit | 3aaea136b5c70d43c857442358cdd26fe688eaf2 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Wed Oct 16 13:14:22 2019 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Wed Oct 16 13:14:22 2019 -0400 |
tree | 9559c6030bf194ffca656732a343050df938b5a2 | |
parent | 44286205b28d25d7dc45b11f1da43d99e2d1ab94 [diff] | |
parent | 247c2556f3b19d5c73cd76c3fbcc615650f06fe2 [diff] |
Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: Remove bazel-genfiles from .gitignore Replace bazel-genfiles with bazel-bin in documentation Change-Id: Ic83e23b20e5a79df583924c9e17ec0d6ab8f878f
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