commit | a95ce828306ec968d50407364c02b850ffc2c0fd | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Feb 09 10:29:28 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Feb 09 10:29:28 2020 +0100 |
tree | d17d2ba49f8cef6b5a2ba2a53540da16f07c597f | |
parent | 19203d2053fcdb1b1fd4855cf0fcb4a3025866c4 [diff] | |
parent | 871c79e238a1f7e14834a95ef8f346f2a345121e [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Init: Default to yes only for currently configured providers Change-Id: Idc520d4337a98c509df01395acd75f28ca300e74
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