This commit is contained in:
parent
3e5d65c849
commit
ba608000e2
|
|
@ -111,28 +111,10 @@
|
|||
|
||||
var gauth;
|
||||
function googleInit() {
|
||||
gapi.load('auth2', function () {
|
||||
var gauth = gapi.auth2.init({
|
||||
client_id: "@googleClientId",
|
||||
scope: 'profile'
|
||||
});
|
||||
gauth.then(function () {
|
||||
console.log('google init success');
|
||||
|
||||
}, function () {
|
||||
console.error('google init fail');
|
||||
})
|
||||
});
|
||||
gapi.load('auth2', function () {var gauth = gapi.auth2.init({client_id: "@googleClientId", scope: 'profile'});gauth.then(function () {console.log('google init success');}, function () {console.error('google init fail');})});
|
||||
}
|
||||
|
||||
var naverLogin = new naver.LoginWithNaverId(
|
||||
{
|
||||
clientId: "@naverClientId",
|
||||
callbackUrl: "https://www.ynicte.com/Account/NaverCallback",
|
||||
isPopup: true,
|
||||
loginButton: { color: "green", type: 3, height: 60 }
|
||||
}
|
||||
);
|
||||
var naverLogin = new naver.LoginWithNaverId({clientId: "@naverClientId",callbackUrl: "https://www.ynicte.com/Account/NaverCallback",isPopup: true,loginButton: { color: "green", type: 3, height: 60 }});
|
||||
|
||||
function loginWithKakao() {
|
||||
Kakao.Auth.login({
|
||||
|
|
|
|||
|
|
@ -33,30 +33,10 @@
|
|||
snsInit();
|
||||
});
|
||||
var gauth;
|
||||
function googleInit() {
|
||||
gapi.load('auth2', function () {
|
||||
var gauth = gapi.auth2.init({
|
||||
client_id: "@googleClientId",
|
||||
scope: 'profile'
|
||||
});
|
||||
gauth.then(function () {
|
||||
console.log('google init success');
|
||||
|
||||
}, function () {
|
||||
console.error('google init fail');
|
||||
})
|
||||
});
|
||||
}
|
||||
function googleInit() {gapi.load('auth2', function () {var gauth = gapi.auth2.init({client_id: "@googleClientId",scope: 'profile'});gauth.then(function () {console.log('google init success');}, function () {console.error('google init fail');})});}
|
||||
|
||||
|
||||
var naverLogin = new naver.LoginWithNaverId(
|
||||
{
|
||||
clientId: "@naverClientId",
|
||||
callbackUrl: "https://www.ynicte.com/Account/NaverCallbackJoin",
|
||||
isPopup: true,
|
||||
loginButton: { color: "green", type: 3, height: 60 }
|
||||
}
|
||||
);
|
||||
var naverLogin = new naver.LoginWithNaverId({ clientId: "@naverClientId",callbackUrl: "https://www.ynicte.com/Account/NaverCallbackJoin",isPopup: true, loginButton: { color: "green", type: 3, height: 60 }});
|
||||
|
||||
function loginWithKakao() {
|
||||
Kakao.Auth.login({
|
||||
|
|
|
|||
Loading…
Reference in New Issue