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

后端 未结 2 1445
故里飘歌
故里飘歌 2021-01-25 22:12

I\'m using PHP-OpenId 2.1.3 which I\'ve unzipped on my server here (this is the consumer example that comes with PHP-OpenId). When I enter the Google OpenId url (https://www.goo

相关标签:
2条回答
  • 2021-01-25 22:20

    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.

    0 讨论(0)
  • 2021-01-25 22:35

    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.

    0 讨论(0)
提交回复
热议问题