invy/frontend/public/callback.html
2025-12-29 05:49:05 +02:00

18 lines
435 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Google OAuth Callback</title>
</head>
<body>
<script>
// Send the token back to the parent window
if (window.opener) {
window.opener.postMessage(window.location.hash, window.location.origin);
window.close();
} else {
document.write('Authentication successful! You can close this window.');
}
</script>
</body>
</html>