Files
Bolt/html/game_auth.html
2023-07-29 15:48:25 +01:00

23 lines
573 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Bolt Launcher</title>
<script>
const parentWindow = window.opener || window.parent;
if (parentWindow) {
const searchParams = new URLSearchParams(window.location.search);
parentWindow.postMessage({
"type": "gameSessionServerAuth",
"code": searchParams.get('code'),
"id_token": searchParams.get('id_token'),
"state": searchParams.get('state'),
}, "*");
}
</script>
</head>
<body style="background-color: #0B111A">
<p><b>Authorising...</b></p>
</body>
</html>