구글로그인 시 통신 오류가 발생한다며 난리다. 소셜로그인은 정말 고생을 많이 시키는 모듈.
https://github.com/rhymix/rhymix-sociallogin/archive/refs/heads/master.zip
이 링크를 눌러 나오는 폴더를 modules에 넣어주세요. 대신, 이름은 rhymix-sociallogin에서 sociallogin으로 바꿔주세요.
즉 modules/sociallogin 폴더 안 base.php 파일이 보이는 상태면 됩니다. 다만 현재 안정버전(master 브랜치)에서는 언어가 깨져나오는 버그가 있는것 같습니다.
basedir : /volume1/web/hanbyun03/www/
https://github.com/bjrambo/rx_xedition_social
<!--@if(!$is_logged && \Rhymix\Modules\Sociallogin\Models\Config::isEnabled())-->
{\Rhymix\Modules\Sociallogin\Models\User::getSocialloginButtons()}
<!--@end-->
https://github.com/rhymix/rhymix/blob/master/modules/member/skins/default/login_form.html
<!--@if(!$is_logged && \Rhymix\Modules\Sociallogin\Models\Config::isEnabled())-->
{\Rhymix\Modules\Sociallogin\Models\User::getSocialloginButtons()}
<!--@end--> 추가해보시면
<load target="^/modules/sociallogin/skins/default/css/default.css" />
<style>
.sociallogin_login{
border-top: 1px solid #e9e9e9;
padding-top: 16px;
}
.sociallogin_naver .loginBtn{
width: 100%;
}
.sociallogin_naver span.icon{
height: 52px;
}
</style>
<load target="^/modules/sociallogin/skins/default/css/default.css" />
<!--@if(!$is_logged && \Rhymix\Modules\Sociallogin\Models\Config::isEnabled())-->
{\Rhymix\Modules\Sociallogin\Models\User::getSocialloginButtons()}
<!--@end-->
https://github.com/rhymix/rhymix-sociallogin/issues/17#issuecomment-2430576984
https://github.com/qlazzarus/rhymix-sociallogin/commit/9a2e80938c331e772f961dfef154c9b2880871ee
google people api 를 사용해서 그런것이 아닐까 추측하고 있습니다.
해당 api 대신 이 api 로 대체해봤습니다.
https://www.googleapis.com/oauth2/v3/userinfo
우선 해당 내용 pull request 권한이 없어
fork 후 수정 후 적용한 내용 전달 드립니다.
qlazzarus@9a2e809
로 해결되었다.
소셜로그인아 앞으론 평화롭게 지내자. 제발