CDN I am using
<script src="https://accounts.google.com/gsi/client" async defer></script>
console chrome hint: undefined, state: undefined, hosted_domain: undefined
document.getElementById("create_account_using_google").addEventListener("click", function() {
// this tokenClient i see there is some error
const tokenClient = google.accounts.oauth2.initTokenClient({
client_id: "[REDACTED]",
scope: "profile email",
prompt: "consent",
callback: handleCredentialResponse
});
console.log(tokenClient)
}
)
function handleCredentialResponse (response) {
var access_token=response
}
