commit | 0112e632110b6a4dc4eaef1b154af5da1649bbcd | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Oct 30 22:11:05 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Oct 30 22:11:05 2019 +0900 |
tree | 924cd669d3378d3657959eb9bd3ee309589f83a1 | |
parent | 247c2556f3b19d5c73cd76c3fbcc615650f06fe2 [diff] | |
parent | 38f3453a22b41dc0a615924d33227651995f860a [diff] |
Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Bump Bazel version to 1.1.0 Change-Id: Ibaf06f6e1f3a8294735a2b3465841e7a2d131793
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