commit | 44285a439d72378c097b45d3c73d9db773569fe1 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Thu Jul 30 11:26:39 2020 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Thu Jul 30 11:26:39 2020 -0400 |
tree | 8c2a53473d710a8a8ece871f89f3e4f007c3f41f | |
parent | 35e8f027b699e2808e4ab393cc28f4ad843b4d4a [diff] | |
parent | c604671773a908592cbf4895b5fa9ffe8f2592a8 [diff] |
Merge branch 'stable-3.1' * stable-3.1: Upgrade bazlets to latest stable-3.1 to build with 3.1.8 API Upgrade bazlets to latest stable-3.0 to build with 3.0.12 API Upgrade bazlets to latest stable-2.16 to build with 2.16.22 API Change-Id: Ida9c1680173e38eb5b95f04b356a831af21a159c
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