Normalize admin routes and docker config
This commit is contained in:
@@ -35,23 +35,6 @@ if (form) {
|
||||
})
|
||||
}
|
||||
|
||||
// OIDC 로그인 처리
|
||||
const btnOidc = document.getElementById('btn_oidc_login')
|
||||
if (btnOidc) {
|
||||
btnOidc.addEventListener('click', () => {
|
||||
const width = 500;
|
||||
const height = 600;
|
||||
const left = (window.screen.width / 2) - (width / 2);
|
||||
const top = (window.screen.height / 2) - (height / 2);
|
||||
|
||||
window.open(
|
||||
'/kngil/auth/oidc-login.php',
|
||||
'oidc_login_popup',
|
||||
`width=${width},height=${height},left=${left},top=${top},scrollbars=yes`
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
// 팝업으로부터의 메시지 수신 (로그인 성공 시 새로고침)
|
||||
window.addEventListener('message', (event) => {
|
||||
// 보안을 위해 실제 서비스에서는 event.origin을 체크하는 것이 좋습니다.
|
||||
|
||||
Reference in New Issue
Block a user