commit | a76e614412b2e6751e56d1602eed6ccefbbcbacf | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Tue Nov 05 14:17:05 2019 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Tue Nov 05 14:17:05 2019 +0900 |
tree | 1f11ea315c4f29753e004010a2547b4ca64e47d8 | |
parent | ec8445685475bd9429ccbcb40900c05297b6184a [diff] | |
parent | f3e0bf80f8d6fb9717bb309cb7f2aed85dba6390 [diff] |
Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Upgrade bazlets to latest stable-2.14 Bazel: Migrate workspace status script to python Change-Id: I35f579ba49521674f44fbf5ec1b3e0972f541b9d
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