commit | a9dc7a97f6bc96911761bfffc33322de5dc65d6b | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Mar 06 09:38:43 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Mar 06 09:38:43 2019 +0900 |
tree | f322f727d8a57b3b90f656216aba9602b6975fa5 | |
parent | c54bedb0c42d3f6df05fc18c6351250c10bae4b3 [diff] |
Align Eclipse compiler settings with core Gerrit's Having the same compiler settings as core Gerrit means that when the project is opened in its standalone Eclipse project, the same warnings appear as when opened within the Gerrit tree (i.e. as a bundled plugin). Change-Id: I85b55362732184ba9b55018c4a3cb248f962af28
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