외부로그인 연동 플로그인 사용법을 모르겠어요.... 채택완료
소셜로그인 플러그인을 넣으려고 하고 있습니다..
https://sir.kr/g5_plugin/2213?sfl=wr_subject%7C%7Cwr_content&stx=%EC%86%8C%EC%85%9C" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer;">https://sir.kr/g5_plugin/2213?sfl=wr_subject%7C%7Cwr_content&stx=%EC%86%8C%EC%85%9C
이곳에서 다운 받았으며 내용이 이해가 가지 않아서 질문드립니다.
소셜로그인플러그인을 사용하기 위해서는 로그인 앱을 생성하셔야 하며 앱은 아래 각 서비스에서
직접 추가 생성하셔야 합니다.
페이스북 신청 url : https://developers.facebook.com/apps" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">https://developers.facebook.com/apps
구글 신청 url : https://console.developers.google.com/" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">https://console.developers.google.com
네이버 신청 url : https://nid.naver.com/devcenter/register.nhn" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">https://nid.naver.com/devcenter/register.nhn
카카오 신청 url : https://developers.kakao.com/apps/new" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">https://developers.kakao.com/apps/new
앱생성 후 발급된 API 키 등의 정보를 extend/oauth.extend.php 파일에 설정합니다.
모든 서비스를 꼭 설정하셔야 하는 것은 아니며 사용하시려는 서비스만 설정하시면 됩니다.
앱설정 때 callback 또는 Redirect URL 은 아래의 예시와 같이 설정하셔야 합니다.
페이스북 : http://example.com/plugin/oauth/callback.php" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">http://example.com/plugin/oauth/callback.php
구글+ : http://example.com/plugin/oauth/callback.php?service=google" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">http://example.com/plugin/oauth/callback.php?service=google
네이버 : http://example.com/plugin/oauth/callback.php" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">http://example.com/plugin/oauth/callback.php
카카오 : http://example.com/plugin/oauth/callback.php?service=kakao" target="_blank" rel="noreferrer" style="box-sizing: border-box; background: 0px 0px; color: rgb(0, 0, 0); text-decoration-line: none; cursor: pointer; font-family: Arial, 돋움, Dotum; font-size: 14.004px;">http://example.com/plugin/oauth/callback.php?service=kakao
https://sir.kr/data/editor/1707/c2fe26526e3a476b649722ca1a0655a1_1500778003_5851.png" title="c2fe26526e3a476b649722ca1a0655a1_1500778003_5851.png" style="font-family: 돋움; font-size: 11pt;">
라고 나와있는데.... 이미지에 보시는데로 있는 저 코드를 어디다가 붙혀넣어야되는지 모르겠습니다,.
그리고 별게의 문제로 페이스북 경우 사이트의 url을 facebook에 알려주세요. 가 나오는데
이때 제 사이트 주소 적는것 맞나요.. 아.....ㅠ 도와주세용 우선, 프로그램 다운 받고 각 경로에 ftp로 덮어쓰기는 완료한 상태입니다... 도와주세요
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인