commit | 0285c7be1e89c1732e9b55c5dffe27a487416e81 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sat Feb 22 18:03:26 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sat Feb 22 18:03:26 2020 +0100 |
tree | 9eec1c58c5ffd2e0a2a9fe1ab68644807aff9cb2 | |
parent | 891392bb7d2594a531892a0634a503d662435a17 [diff] | |
parent | 13fcf9904a632b0a02694a9c66f64e591a9bdc1f [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Update Travis build file Change-Id: I5f14e759a520e14f9d5d68cce80e2598c4473a6f
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