Normalize admin routes and docker config

This commit is contained in:
Lectom C Han
2026-02-04 12:40:02 +09:00
parent bf86b1d1e7
commit 410b2b7b48
30 changed files with 467 additions and 231 deletions

View File

@@ -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을 체크하는 것이 좋습니다.