Search code examples
openidwordpressgoogle-openid

Google OpenID not working with OpenID plugin in WordPress


The OpenID plugin for WordPress doesn't seem to accept either of the Google OpenID provider links:

http://google.com/profiles/username

or

https://google.com/accounts/o8/id

It returns the error (for both):

Could not discover an OpenID
identity server endpoint 
at the url:
http://google.com/profiles/username

Any idea why? The janrain engage plugin works, but I can't use that because of other issues with that.


Solution

  • The problem is solved. Since Google, Yahoo and some other OpenID providers provide https endpoints, curl tries to verify the other end when making a POST request to it -- since curl does not come with a pack of CA certificates, it fails on all such endpoints.

    The solution is either to tell curl not to verify the provider or give it the correct CA certificate for Google.