commit | 7d1d409eec688cfbda1ed1870461b1b28b2643ed | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu May 23 14:14:32 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu May 23 14:20:38 2019 +0900 |
tree | e059326850568ad008fdfd027e5931983eaaef53 | |
parent | 0f671d967dd7c884c661be0824168f9551f72691 [diff] |
Upgrade bazlets to latest master to build with 3.1.0-SNAPSHOT API Change-Id: Id8c0807758eef09573e358fca5de14b1f352b40f
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-genfiles/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