I am developing a server-side application to pull data from my Google Analytics account using PHP. I have registered my application in a Google API Console as a Web Application. I want to run this application using Terminal/Command Prompt. To run this application on a Terminal/Command Prompt I want to get rid of Login Screen and Allow Access prompt.
Unfortunately, I can not figure out how to get rid of Login Screen and Allow Access Prompt. I have changed approval_prompt
to auto
but I am still getting Allow Access Prompt for the new session.
What are the required changes to run this application without user interaction for Login Screen and Allow Access Prompt?