commit | 3cff529f905aa93999c4dcf3c690c9136c902fdf | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Thu Apr 09 11:15:32 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Thu Apr 09 11:15:32 2020 +0900 |
tree | c9f9480b2d3b6bdd0c2e000427b49fcb5e76d903 | |
parent | 0f02679618aae23903eedb4a6f25cc1d041d891c [diff] | |
parent | bc575e93b63f4cc1cccfee3f1541b4aff9557d7e [diff] |
Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Bump Bazel version to 3.0.0 Change-Id: Ib9bf5e065ecf7a949d8a9ff18ee702ee8572dd1f
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