php/googleClientLib/goAuth2callback.php

    <html>
     <head>
      <title>google oauth2 callback</title>
     </head>
     <body>
      <h2>Google authorization redirect url</h2>
     sending back resource owner authorization to terminal script<br>
<?php
    require_once 'env.php';
    require_once 'cloud.php';
    outBegin();
    $f = new CloudFactory('cli');
    $g = new GoAuthCli($f);
    $g->codePut();
?>
<h2> code sent back to cli, close window and continue in cli</h2>
</body> 
</html>