commit | c62494d6aa01cfeac884d7510c1fd1a6e26050df | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sun Feb 23 09:35:57 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Feb 23 16:12:31 2020 +0100 |
tree | ac391f4866526a493a9e3b4b67366363faebe70a | |
parent | 9ea697885c2d95f448f52ff3b2b912b3b603e586 [diff] |
Add support for LemonLDAP::NG oauth provider Change-Id: Id22088d62bb6990849a10e663384bcbabd933fdb
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