In a previous tutorial, we used a service account to connect to the Google Drive API from a Node.js application. We cannot use a service…