commit | cb750e864463d8c1cc8657668a7de9a496585c62 | [log] [tgz] |
---|---|---|
author | Nguyen Tuan Khang Phan <nguyen.tuan.khang.phan@ericsson.com> | Tue Jan 28 14:01:03 2020 -0500 |
committer | Nguyen Tuan Khang Phan <nguyen.tuan.khang.phan@ericsson.com> | Tue Jan 28 14:01:03 2020 -0500 |
tree | 2b09ac63539c5f99058c4ab71ba142c7574257bc | |
parent | e7ac9824b1a61344dd59f81f34d83b9912f895f7 [diff] | |
parent | 668bb724de974ab9bd003351c4dfd3032147188e [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Documentation: Add missing footer that links to plugin index page Add an empty tools/BUILD file explicitly for Bazel Change-Id: I8b5c4cf26f6ea47a0ba78c17c9d80d8588c310ef
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