commit | 9deaf50a8df4e4099c8e018b07eb9825ae84e6c6 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Jul 05 17:12:43 2020 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Jul 05 17:12:43 2020 +0200 |
tree | 6a480d9033bc894fe6e23cea3bd05183b5aaf52f | |
parent | 62b8393f88b4f5c00dbf2271ab18bce158db77a9 [diff] | |
parent | 95b22376757d5b51470fe44b65a5edaa54c636c1 [diff] |
Merge branch 'stable-3.1' * stable-3.1: LemonLDAP::NG: Remove getBearerSignature() override LemonLDAP::NG: Fix default scope name LemonLDAP::NG: Set username claim name in accordance with specs Change-Id: I04446c560f68a53b68921c6b7e8d9e697b57071d
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