c55cb8902f
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 |
||
---|---|---|
.. | ||
src/main | ||
BUCK |