commit | c55cb8902fdbd96a3c5ba2ffe49358b94f17310a | [log] [tgz] |
---|---|---|
author | David Ostrovsky <david@ostrovsky.org> | Fri Sep 18 23:10:55 2015 +0200 |
committer | David Ostrovsky <david.ostrovsky@gmail.com> | Wed Sep 23 14:00:54 2015 +0000 |
tree | b29e62a0b3b2cebcdab49165681f466ab3f4aeb9 | |
parent | a953e28de316f7869a4286ac3571d0c4d5cc640e [diff] |
Simplify troubleshooting of OpenID <-> OAuth identity linking Currently there is no easy way to troubleshoot the problems that are reported in the wild concerning failures to link different identities using Hybrid OpenID+OAuth authentication scheme. Add some log output to simplify this job. For example with this change there should be hopefully clear what is going on with this issue: [1]. Signing in phase with OpenID provider: ====================================== DEBUG com.google.gerrit.httpd.auth.openid.LoginForm : mode "SIGN_IN" DEBUG com.google.gerrit.httpd.auth.openid.LoginForm : OpenId provider "https://login.launchpad.net/+openid" DEBUG com.google.gerrit.httpd.auth.openid.OpenIdServiceImpl : OpenID: openid-realm=http://localhost:8080/ Following by Identity linking phase with OAuth provider: ======================================================== DEBUG com.google.gerrit.httpd.auth.openid.LoginForm : mode "LINK_IDENTIY" DEBUG com.google.gerrit.httpd.auth.openid.LoginForm : OAuth provider "http://gerrit-oauth-provider_-google-oauth" [...] DEBUG com.google.gerrit.httpd.auth.openid.OAuthSessionOverOpenID : Linking "34534523945376523984" to "1000000" [1] https://github.com/davido/gerrit-oauth-provider/issues/46 Change-Id: Ida117aea49b86c3915c738ae1b9d8afd917b5eb9
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck build all
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.