33 lines
738 B
Plaintext
33 lines
738 B
Plaintext
@{
|
|
Layout = null;
|
|
var naverClientId = ViewBag.naverClientID;
|
|
}
|
|
<head>
|
|
@Html.Partial("./Partial/JS")
|
|
<script type="text/javascript" src="/js/naveridlogin_js_sdk_2.0.0.js"></script>
|
|
</head>
|
|
|
|
<script>
|
|
|
|
|
|
$(document).ready(function () {
|
|
$.when(
|
|
naverLogin.init()
|
|
).done(function () {
|
|
opener.location.href = "/Account/Join?jointype=2";
|
|
self.close();
|
|
});
|
|
|
|
});
|
|
|
|
var naverLogin = new naver.LoginWithNaverId(
|
|
{
|
|
clientId: "@naverClientId",
|
|
callbackUrl: "https://www.ynicte.com/Account/NaverCallbackJoin",
|
|
isPopup: false,
|
|
callbackHandle: true
|
|
}
|
|
);
|
|
|
|
|
|
</script> |