commit | e6d0242d0c310cf30a9500c5f56937a241b048d2 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Fri Sep 13 13:57:09 2019 -0400 |
committer | Marco Miller <marco.miller@ericsson.com> | Fri Sep 13 13:57:09 2019 -0400 |
tree | a1731ebcf08c10d8db2888bd29c1b2f8c900a554 | |
parent | 220bf9fec865ecc633fd27c7d4dbfd242db32667 [diff] | |
parent | 2a661270130c2e65ac61584f53c5411020d9646d [diff] |
Merge branch 'stable-3.0' * stable-3.0: Upgrade bazlets to latest stable-3.0 Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 Bump required bazel version to 1.0.0rc2 Upgrade bazlets to latest stable-2.14 Change-Id: Ibf0ba38838f0c67548e363b679182f8446d8295e
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