commit | a8674708315a53db06de22a11589dff301846318 | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Tue Feb 05 08:57:56 2019 +0100 |
committer | David Ostrovsky <david@ostrovsky.org> | Tue Feb 05 08:58:08 2019 +0100 |
tree | f4c03f2c98317d5c6f57f7d42dd784dd84dc62a7 | |
parent | f4789f675a41be371535b5e65410d572a86d643c [diff] | |
parent | a8b3d626a732aa3e2d668fa0897b67699e92fdf8 [diff] |
Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: GoogleOAuthService: Stop using deprecated Google+ userinfo endpoint Change-Id: Ief5c44a6194e44cf450ded2dc85a5ccb60d17975
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-genfiles/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