commit | ee1d38e6d6531db29e6293cac85438740a111a87 | [log] [tgz] |
---|---|---|
author | Guilhem Moulin <guilhem@libreoffice.org> | Thu Jun 25 16:21:19 2020 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Sun Jul 05 16:48:10 2020 +0200 |
tree | 370f34b2120fbcba593bdee22fd4b9dea9649d93 | |
parent | e49fb98f51e7fe061b195824d0b8cac7acdba85b [diff] |
LemonLDAP::NG: Fix default scope name “Multiple scope values MAY be used by creating a space-delimited, case-sensitive list of ASCII scope values.” — https://openid.net/specs/openid-connect-basic-1_0.html#Scopes Change-Id: I48a07a6a379480821a2c3d0626573c3b746f6d09
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