commit | e49fb98f51e7fe061b195824d0b8cac7acdba85b | [log] [tgz] |
---|---|---|
author | Guilhem Moulin <guilhem@libreoffice.org> | Thu Jun 25 15:59:51 2020 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Jul 05 16:48:01 2020 +0200 |
tree | 2529186be53e2ee92d61716e482dd7c0cc3d6fe6 | |
parent | 48e314533fdea8f6f191516847fc4008f5baaa1f [diff] |
LemonLDAP::NG: Set username claim name in accordance with specs Spec: https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims Change-Id: I86831e83878261f8c364f43c3d3bce576453562e
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