commit | 95b22376757d5b51470fe44b65a5edaa54c636c1 | [log] [tgz] |
---|---|---|
author | Guilhem Moulin <guilhem@libreoffice.org> | Thu Jun 25 16:40:31 2020 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Jul 05 17:03:21 2020 +0200 |
tree | e4b3038c90780e6f5daede469c35c5331694b8d1 | |
parent | ee1d38e6d6531db29e6293cac85438740a111a87 [diff] |
LemonLDAP::NG: Remove getBearerSignature() override Bearer Authorization Tokens appear to be supported by v2.0: https://lemonldap-ng.org/documentation/2.0/oauth2handler. Change-Id: I58d55d9e00f7881ad7143214d929df0327268011
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