google oauth
2022 06更新
<html>
<body>
<script src="https://accounts.google.com/gsi/client" async defer></script>
<div id="g_id_onload"
data-client_id=""
data-callback="handleCredentialResponse">
</div>
<div class="g_id_signin" data-type="standard"></div>
</body>
<script>
function handleCredentialResponse(e){
console.log(e)
}
</script>
</html>進階認證
另外google提供的Google API Client Library
Last updated
