commit | 62b8393f88b4f5c00dbf2271ab18bce158db77a9 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Thu Jul 02 09:13:59 2020 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Thu Jul 02 09:13:59 2020 -0400 |
tree | 920d4d7df6b66f24c096184b37a75bf350a46e5a | |
parent | 41e558599a965f09a90923dab4c898103e790f17 [diff] | |
parent | 48e314533fdea8f6f191516847fc4008f5baaa1f [diff] |
Merge branch 'stable-3.1' * stable-3.1: Office365OAuthService: Restore Accept header in user info request Upgrade bazlets to latest stable-2.16 Change-Id: I02ab844c30a7b22caa5036e7aefd9a2992baedba
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