commit | d780c146db49d350cd2666f6f1d6088a14744409 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Mon Oct 22 21:24:04 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Oct 22 21:24:04 2018 +0900 |
tree | 351cc7d5d832a96c497f59a473253ed40b877f31 | |
parent | 49669ade54bc5e330ff93abe370ecde57c99927b [diff] | |
parent | fb52284f146e149c47801ac6190fb355b46172bc [diff] |
Merge branch 'stable-2.14' * stable-2.14: Align Eclipse compiler settings with core Gerrit's Fix Eclipse project generation README: Fix name of jar file in standalone build Update README bazlets: Replace native.git_repository with skylark rule Upgrade bazlets to latest stable-2.14 to build with 2.14.15 API Change-Id: Ic5ea8185dc391c7c284971d9a7df9d632c5242ea
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