commit | 1b3cc407cb2571d08601ab852e6e01f82d27160f | [log] [tgz] |
---|---|---|
author | Joakim Plate <joakim.plate@rt-labs.com> | Wed Jun 21 16:33:41 2023 +0200 |
committer | Joakim Plate <joakim.plate@rt-labs.com> | Wed Jun 21 18:20:42 2023 +0200 |
tree | 86e60732bc6c4b770776a1dde285b76698f6d4e7 | |
parent | 8d467e99457466c71eb0ca9e661dd433f03a0123 [diff] |
Add support for Auth0 OAuth2/OIDC provider https://auth0.com/docs/authenticate/protocols/oauth Change-Id: I1549abda1e94fba82b2d81713ae37b8cdf264643
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