commit | 87d399d434a58e572091a6715a801a64b8aa052a | [log] [tgz] |
---|---|---|
author | Lars Greiss <l.greiss@mediacologne.de> | Tue Mar 31 08:20:26 2020 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Tue Mar 31 08:47:17 2020 +0200 |
tree | eb874050e86287861e310083309b1afdf1664b0f | |
parent | 50460a63140badfb0e2cfc277aae396e0fa8b3b3 [diff] |
Ensure that LemonLDAP is configured on init This change fixes NPE regression introduced in: Id22088d62bb. Instances which have no configuration for LemonLDAP provider are running into NPE in init step. Change-Id: If2cd934436cb68c710b1eb69c34aafeb04e31c81
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