commit | ef9dd0dabba0a966526f5fdc087167a7140f5535 | [log] [tgz] |
---|---|---|
author | Marco Miller <marco.miller@ericsson.com> | Fri Feb 08 16:56:12 2019 -0500 |
committer | Marco Miller <marco.miller@ericsson.com> | Fri Feb 08 16:56:12 2019 -0500 |
tree | 16abf615b6936d04bee0762162f4ac18a48848df | |
parent | 72aa3522b0f145ea42e82b633273074d060a27fb [diff] | |
parent | 65f746ac8442e8d33384594c257a749e28f882b8 [diff] |
Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: Upgrade bazlets to latest stable-2.15 to build with 2.15.10 API GoogleOAuthService: Stop using deprecated Google+ userinfo endpoint Upgrade bazlets to latest stable-2.15 to build with 2.15.9 API Upgrade bazlets to latest stable-2.15 to build with 2.15.8 API Upgrade bazlets to latest stable-2.14 to build with 2.14.18 API Bazel: Include eclipse-out directory in .bazelignore Add explanatory comment to empty BUILD file(s) Change-Id: I4f76277721beb1b962de2db5d1874ded79c1772c
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