I've insert "Google One Tap" in my website, then Google returns me "credential" and "g_csrf_token" with POST method. Now I want to know, how I get email address from this "credential" in PHP?
Is there any PHP library or any module for Codeigniter 4?
I have only this in Frontend:
<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>
And in backend file "myurl/google"
print_r($_POST);
Thanks