css/g01Html.php

<html>
 <head>
  <title>e01html example</title>
  <script src="https://accounts.google.com/gsi/client" async> </script>
 <script type="text/javascript">
    function handleResponse(a) {
        console.log("handle response");
        console.log(a);
        console.log(a.credential);
        const t = a.credential.split('.')
        console.log('header === ' + atob(t[0]));
        console.log('payload === ' + atob(t[1]));
        console.log('signatur === ' + (t[2]));

    }
  window.onloadxx = function () {
       console.log("onload");
    google.accounts.id.initialize({
      client_id: "811704878405-ee6bkjji3minnhivhshm637h0tdpf9a9.apps.googleusercontent.com",
      callback: handleResponse
    });
    /* google.accounts.id.prompt(); */
  };

  </script>
 </head>
 <body>
 <h1> 1 Heading h1 </h1>
 text unter 1 - h1
  <h2> 1.1 Heading h2</h2>
 text unter 1.1 - h2
<h1>google one tap</h1>
<div id="g_id_onload"
     data-client_id="811704878405-ee6bkjji3minnhivhshm637h0tdpf9a9.apps.googleusercontent.com"
     data-callback="handleResponse"
     use_fedcm_for_prompt="true"
     data-auto_select="true"
     data-your_own_param_1_to_login="any_value 1"
     data-your_own_param_2_to_login="any_value 2">
     <!-- data-login_uri="https://localhost/home/inf/php/cloudTst.php"  -->
    >
</div>
 <h1>Source</h1>
<?php highlight_file(__FILE__) ?>
 </body>
</html>