OpenID with Gerrit not working

When I click to Register or Sign In using Gerrit Code Review, I get this error: Provider is not supported, or was incorrectly entered.

And when I enter the URL into the OpenID field manually, it takes me to a Google page stating: The page you requested is invalid.

Any clue what's happening here?

EDIT : Upon further investigation, I realized that if I change the provided URL in the OpenID field to http rather than https , it will redirect me to Google properly and ask me to approve. However, on the redirect back to Gerrit, nothing seems to have happened. I tried registering/signing in multiple times and to no effect.

I've also looked in the MySQL database to see if any data was being stored, and there doesn't appear to be.

EDIT 2 : I've now submitted a bug report to Gerrit.

EDIT 3 : Answered. I'd have done well to read the previous bug reports a bit more closely. My sysadmin fu is also severely lacking. Nonetheless, this is solved as a duplicate of another bug and is a Debian issue; see below.


This proved to be a duplicate of another issue.

The error was with Debian's OpenJDK Java security cacerts. Fixed by symlinking: ln -sf /etc/java-6-sun/security/cacerts /usr/lib/jvm/java-6-openjdk/jre/lib/security/cacerts

I've updated my bug report to indicate that the error logs are still not generating a response that pinpoints the true cause of the error.


Is this related to Gerrit issue 459?

All providers are always accepted.
But an administrator can configure auth.trustedOpenId to prevent users coming from an unknown OpenID provider from using permissions granted to groups other than "Registered Users".

The problem with docwhat.org is the XRDS document isn't a valid XML file according to our relying party library.


As the OP Josh Smith mentions, a new bug has been submitted for that particular instance: Issue 728 .

链接地址: http://www.djcxy.com/p/47852.html

上一篇: 因素认证到Java Web应用程序中

下一篇: OpenID与Gerrit无法正常工作