commit | 98231604d60788bb43490f1a301d792817ac8008 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Thu Jun 06 04:48:51 2024 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Thu Jun 06 04:50:37 2024 +0200 |
tree | 81a20219fa4bbf60f8996cb46d46ebc5ea0c11ee | |
parent | f45c596896cd6cebf011e3a971a00e8a72188b9e [diff] |
Bazel: Disable bzlmod explicitly in .bazelrc In Bazel 7.x release line, the bzlmod feature is activated per default, so that we need to disable it. See this issue for more details: [1]. [1] https://github.com/bazelbuild/bazel/issues/18958 Change-Id: Id81a1f40392b740146e344d01d96a37f7eabf7e7
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