This is a very simple version of the code we have that's failing.
Following the guidance on Automatic Sign-in we have a very simple web page:
<html>
<head>
<title>Google Signin Testing</title>
<script src="https://accounts.google.com/gsi/client" async defer></script>
<script>
function onSignIn(credentialResponse) {
document.body.innerHTML = "Signed in";
}
</script>
</head>
<body>
<div
id="g_id_onload"
data-client_id=<our-client-id>
data-context="signin"
data-ux_mode="popup"
data-callback="onSignIn"
data-auto_select="true"
></div>
<!--<div class="g_id_signin"
data-type="standard"
data-shape="rectangular"
data-theme="outline"
data-text="signin_with"
data-size="large"
data-logo_alignment="left">
</div>-->
</body>
</html>
Because data-auto_select="true" this should automatically sign-in without having to sign in each time the user reloads the page. But that's not what's happening: https://games.tactiletimes.org/signin.html
What are we missing?