[태그:] 소셜 로그인

WordPress social login 구글 계정 로그인 에러 해결방법

wp social login 플러그인 사용중 페이스북 카카오톡 등 제대로 로그인이 되는데 이상하게 설명대로 했음에도 불구하고 구글계정으로만 로그인시 아래와 같은 에러가 났었다. ​Oops! We ran into an issue.Authentication failed. Either you have cancelled the authentication or Google refused the connection.  ξ Authentication failed! Google returned an invalid code ***************************** 400. { “error” : “invalid_request” }   해결방법은 wp-content/plugins/wordpress-social-login/hybridauth/Hybrid/thirdparty/OAuth/OAuth2Client.php 로 찾아가서 OAuth2Client.php 파일을 연후 아래코드를 삭제하면 된다. curl_setopt($ch, CURLOPT_USERAGENT, $this->curl_useragent ); 이거 가지고 몇일을 헤매다니.. 아직 멀었나보다 ㅠ   혹시나 위 방법으로 안되면 wp social login 구글 에러 해결 파일 (2832 downloads ) 위 파일을 받으신후 압축을 풀어서 \wp-content\plugins\wordpress-social-login\hybridauth\Hybrid\thirdparty\OAuth 폴더에 있는파일에 덮어씌워주세요~