Auto sign in to my google account using Google API

I want to use my google drive to store files. The site has a button "create a google document", when the user clicks on it, asks him to log into his account and file is created on his account.

I have a snippet that calls the account selection window:

$scope.GoogleAuth.grantOfflineAccess({
    prompt: 'select_account', //select_account, consent
    scope: SCOPES
}).then(function(response) {

How to bypass it?
How to implement the creation of documents in my account so that the user can not select their account?