commit | 040eebf357d210313ec6f34525906a65dff13e6b | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Fri Mar 06 15:19:04 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Fri Mar 06 15:19:04 2020 +0900 |
tree | f9593c3a81be7dd071b257af70a4ecf8fe257d83 | |
parent | 52dec3f7db195b5be6ac966d963eb9e48ed0ebe2 [diff] | |
parent | a5d7810c766cfb43489d48eb4f7ec7233a61670d [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Bump Bazel version to 2.2.0 Change-Id: I20ca067651091d127905526bf6b52540f04b42c6
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