commit | 467571ef9d2d3295d5aa9f2f7eeda8875b5b2b4f | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Feb 09 10:32:15 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Feb 09 10:32:15 2020 +0100 |
tree | 3278760ea7c8dac96ea0dfd7965da40063d4f9ff | |
parent | de788c981b2aee3f03225e18fc58f232c664bec0 [diff] | |
parent | a95ce828306ec968d50407364c02b850ffc2c0fd [diff] |
Merge branch 'stable-3.0' * stable-3.0: Init: Default to yes only for currently configured providers Bump required Bazel version to 2.1.0 Change-Id: I7bad26143a0c6effd49d156deeedcb5bb67d1d62
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