How do I authorise an app (web or installed) without user intervention?

This can be done with the Oauth2 Playground at https://developers.google.com/oauthplayground Steps:- Create the Google Account (eg. [email protected]) – Or skip this step if you are using an existing account. Use the API console to register the mydriveapp (https://console.developers.google.com/apis/credentials/oauthclient?project=mydriveapp or just https://console.developers.google.com/apis/) Create a new set of credentials. Credentials/Create Credentials/OAuth Client Id then select Web application … Read more