commit | 9ea697885c2d95f448f52ff3b2b912b3b603e586 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Sat Feb 22 18:05:11 2020 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Sat Feb 22 18:05:18 2020 +0100 |
tree | d9b2f019506091b4c178e2b021a67ea88d0c01f6 | |
parent | 7b4f9887aac1af69a17de02dba4f1aaf69d1ee02 [diff] | |
parent | 52dec3f7db195b5be6ac966d963eb9e48ed0ebe2 [diff] |
Merge branch 'stable-3.0' * stable-3.0: Bazel: Fix standalone build mode Update Travis build file Change-Id: I8b32485ef202937490ee8a7fe65aec4c084282ee
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