| commit | b2fa29e18378779c335076fd99b6df3a5fc324cd | [log] [tgz] |
|---|---|---|
| author | Thomas Dräbing <thomas.draebing@sap.com> | Thu May 22 09:52:24 2025 +0200 |
| committer | Thomas Dräbing <thomas.draebing@sap.com> | Wed Oct 15 04:03:36 2025 -0700 |
| tree | 1e44be833b8df4663553dd29b2dfb711fb10d120 | |
| parent | 527b52384aaaf4f971a7826dc51be19cf9081eed [diff] |
[SAP IAS] Validate SAP IAS token during login with token This change uses the official validation tools provided by SAP IAS to verify that the token is valid for the requested application. Change-Id: I56a5044566741539d8b0d236ea18d868568cf09c
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