Google OpenID无法与WordPress中的OpenID插件一起使用 [英] Google OpenID not working with OpenID plugin in WordPress
问题描述
用于WordPress的OpenID插件似乎不接受任何Google OpenID提供程序链接:
http://google.com/profiles/username
或
https://google.com/accounts/o8/id
它返回错误(对于两者):
Could not discover an OpenID
identity server endpoint
at the url:
http://google.com/profiles/username
知道为什么吗? janrain互动插件可以工作,但是由于其他问题,我无法使用它.
问题已解决.由于Google,Yahoo和其他一些OpenID提供程序都提供https端点,因此curl在向其发出POST请求时会尝试验证另一端-由于curl没有随附一堆CA证书,因此在所有此类端点上都会失败.>
解决方案是告诉curl不要验证提供者,或者给它提供适用于Google的正确CA证书.
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.
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.
这篇关于Google OpenID无法与WordPress中的OpenID插件一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!