Google suddenly began to return confirmation as false using LightOpenId

Using the LightOpenID library, I was able to successfully implement OpenID on my website. However, a few days ago it simply stopped working when using Google as a provider (it works fine with Yahoo!). Since the day I implemented OpenID, it has worked great with any provider. I even had several users using their Google Accounts to log in. However, oddly enough, a few days ago Google stopped working (while other providers are still working fine), returning false on $ openid-> validate ()

I tested the example-google.php file without any changes provided by LightOpenID, but I had no luck. I also tested using different Google accounts, no luck. I even tested on different sites, but I still had no luck. Please note that I use a shared host and curl, version 7.19.7 works

Has Google made any changes to the system that is causing this now? Is there any other reason for this problem?

+3
source share
2 answers

Other people say to enable cURL (this may be your problem), but in my case cURL was turned on.

snooping , , request_streams() - ( ):

if (
  function_exists( 'curl_init' ) &&
  (
    !in_array( 'https', stream_get_wrappers() ) ||
    !ini_get( 'safe_mode' ) &&
    !ini_get('open_basedir' )
  )
) {

:

if (
  function_exists( 'curl_init' ) &&
  (
    !in_array( 'https', stream_get_wrappers() ) ||
    (
      !ini_get( 'safe_mode' ) &&
      !ini_get( 'open_basedir' )
    )
  )
) {

, .

: , , Google , , , , , , - , , , , . Google, , - , - /.

0

.

( 'file_get_contents'). , . ( Google. Yahoo )

CURLOPT_FOLLOWLOCATION.

0

All Articles