title: Automate google oAuth verification to get the Authorization code
body: <p>I have a desktop app which needs to push data to google sheets. </p>
  
  <p>I can ask the user to enter all the required fields required to work with google OAuth authentication. </p>
  
  <p>I want the authentication to happen in the background without the user consent screen. I have tried different ways to get the auth code but it always require me to open the consent screen.</p>
  
  <p>I have found a way to do it using the headless browser.</p>
  
  <p><strong>Question:</strong> If I use a headless browser to automate  the process It is not calling the callback uri with the code.</p>