最佳答案
这是 Google 一键注册。您可以使用 API 进行集成,按照本指南将 Google One Tap 设置到您的网站中。在 Google 控制台中添加 Oauth2 ClientID 后。您可以在您的网站上使用它作为赠品,
<!DOCTYPE html>
<html>
<head>
<script src="https://accounts.google.com/gsi/client" async defer></script>
</head>
<body>
<div id="g_id_onload"
data-client_id="XXXXXXXXXXXX-bk2lj5rs6l4c6g23nmtsfdh66qhfu921.apps.googleusercontent.com"
data-login_uri="https://localhost:3000/login"
>
</div>
</body>
</html>
您将在您的网站中看到漂亮的小凭证选择器对话框。
关于authentication - 我如何调用谷歌登录对话框? (附截图),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61073585/