Files
Bolt/html/game_auth.html
2023-06-29 13:50:07 +01:00

23 lines
532 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>
<p>Authorising...</p>
</body>
</html>