Why doesn't Google OpenID provider work with PHP-OpenId on my server?

烈酒焚心 提交于 2019-12-02 08:51:07

If it breaks for Google and Yahoo but works for certain other providers, it's likely the setup for making HTTPS requests is borked on your PHP server. Check to make sure you have the ca-certificates package installed.

ketrun is right, I had a similar problem. After I installed the ca-certificates package, everything was fine, but when there is a problem with https requests, PHP Openid returns an error (invalid openid), not a blank screen.

Be sure to check the detect.php file from the examples dir and discover.php to check your OpenID URLs.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!