QLVB / popup.html
hoangthiencm's picture
Upload 14 files
ef54470 verified
raw
history blame contribute delete
705 Bytes
<!DOCTYPE html>
<html>
<head>
<title>Đang xác thực...</title>
<script>
window.onload = function() {
// Xử lý cả hash (token) và query (code)
const payload = {
hash: window.location.hash,
search: window.location.search,
origin: window.location.origin
};
if (window.opener && !window.opener.closed) {
window.opener.postMessage({ type: 'oauth_callback', payload: payload }, payload.origin);
}
window.close();
};
</script>
</head>
<body>
<p>Đang xử lý xác thực, vui lòng chờ...</p>
</body>
</html>