일부 코드 수정
- index.php에서 javascript string 이어붙이기 문제 - RestAPIHelper 클래스 - 세부 서버 Autoload 수정
This commit is contained in:
@@ -39,9 +39,9 @@ var oauthMode = null;
|
||||
|
||||
function getOAuthToken(mode='login', scope_list = null){
|
||||
oauthMode = mode;
|
||||
var url = 'https://kauth.kakao.com/oauth/authorize?'\
|
||||
'client_id=<?=KakaoKey::REST_KEY?>&'\
|
||||
'redirect_uri=<?=KakaoKey::REDIRECT_URI?>&'\
|
||||
var url = 'https://kauth.kakao.com/oauth/authorize?'+
|
||||
'client_id=<?=KakaoKey::REST_KEY?>&'+
|
||||
'redirect_uri=<?=KakaoKey::REDIRECT_URI?>&'+
|
||||
'response_type=code';
|
||||
if(Array.isArray(scope_list)){
|
||||
url += '&scope='+scope_list.join(',');
|
||||
|
||||
Reference in New Issue
Block a user