commit | abf31c10a48aa3abe3652b439f1137d8604c9153 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Sat Nov 09 18:25:18 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Sat Nov 09 18:25:18 2019 +0900 |
tree | da3fca0246b6ea8a4575ff9d50518b46d10ccad0 | |
parent | dba1d59d4658ad347a6f056d06d4160bed11362e [diff] |
Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API Change-Id: Idc90a3a43226d5e5aa51781bc013f8c5cb3b9564
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