commit | 6e54850e3799782070b1a3e2e3659150bbb74a60 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Tue Jul 09 12:01:08 2019 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Tue Jul 09 12:01:08 2019 -0400 |
tree | e059326850568ad008fdfd027e5931983eaaef53 | |
parent | 7d1d409eec688cfbda1ed1870461b1b28b2643ed [diff] | |
parent | be359a0df09faf38994e5d62a0e1e942cfdd5695 [diff] |
Merge branch 'stable-3.0' * stable-3.0: Upgrade bazlets to latest stable-3.0 to build with 3.0.1 API Change-Id: If9104cf7657cf0142ae41ea3d2c0520872e180fc
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/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