commit | 4bae1d7acc87f7dc1deca3813638bbc07ed5747f | [log] [tgz] |
---|---|---|
author | Thomas Gerbet <thomas.gerbet@enalean.com> | Thu Mar 30 14:30:37 2023 +0200 |
committer | Thomas Gerbet <thomas.gerbet@enalean.com> | Tue May 02 18:50:47 2023 +0200 |
tree | 90a3a3039fc24806f48a56c97919860bbc20d259 | |
parent | 024c1d9e625b783b2d2cde6c2882188aeda68736 [diff] |
Add support for Tuleap OAuth2/OIDC provider Tuleap instances can provide an OIDC server: https://docs.tuleap.org/user-guide/oauth2.html Change-Id: I1625b4cfa5b885257743ac2447fb795a478d86d0
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