
When I applied for QQ account login on the QQ Open Platform, the review kept coming back with "login failed or an error occurred (no redirect, failure notice, error message)." The fix comes down to this: QQ's OAuth 2.0 login endpoint requires your server to support either Curl or php_openssl.
OAuth 2.0 asks more of a server than 1.0 did, so one of those two has to be enabled.
Option 1: Turn on php_openssl
Open php.ini and find;extension=php_openssl.dll
Remove the leading semicolon, then restart IIS or Apache.
Option 2: Turn on Curl
- Open php.ini and find
;extension=php_curl.dll; remove the leading semicolon. Copy these three files from the PHP directory:
php_curl.dll libeay32.dll ssleay32.dll
into C:\WINDOWS\system32\
Then restart IIS or Apache.
If it still doesn't work, check one more thing:
make sure the php_curl.dll, libeay32.dll, and ssleay32.dll files in the Windows or Windows/system32 directory grant read/write permission to the "users" group. If tightening server permissions earlier removed it, add it back, then restart the web server.
Comments No Comments