使用googleone-Tap进行PHP身份验证
我在我的网站中插入了“谷歌一键”,然后谷歌用POST方法返回“凭证”和“g_csrf_令牌”。现在我想知道,如何从PHP中的“凭证”中获取电子邮件地址 Codeigniter 4是否有任何PHP库或模块 我的前端只有这个:使用googleone-Tap进行PHP身份验证,php,google-one-tap,Php,Google One Tap,我在我的网站中插入了“谷歌一键”,然后谷歌用POST方法返回“凭证”和“g_csrf_令牌”。现在我想知道,如何从PHP中的“凭证”中获取电子邮件地址 Codeigniter 4是否有任何PHP库或模块 我的前端只有这个: <script src="https://accounts.google.com/gsi/client" async defer></script> <div id="g_id_onload" data-c
<script src="https://accounts.google.com/gsi/client" async defer></script>
<div id="g_id_onload" data-client_id="000.apps.googleusercontent.com" data-login_uri="https://myweb.com/google"></div>
谢谢
print_r($_POST);