I was in more or less the same boat.  The solution was a service account, 
described here: 
 https://developers.google.com/identity/protocols/OAuth2ServiceAccount. 
 Once you get that set up, you'll be able to build  credential as described 
here 
http://stackoverflow.com/questions/30483601/create-spreadsheet-using-google-spreadsheet-api-in-google-drive-in-java

You should remember to set up the service account to impersonate you via  

setServiceAccountUser


Good luck.  It will work.


Bill

On Wednesday, May 27, 2015 at 11:27:42 PM UTC-7, Naresh Reddy wrote:
>
> I have a google app engine application (web), which uses to access data 
> from a spreadsheet associated to my own gmail account. With OAuth1.0 being 
> deprecated, I cannot access the sheets via login credentials and OAuth2.0 
> is forcing to prompt user (end user) for consent, while we don't access any 
> of his data, but to my own account. How can we implement OAuth2.0 w/o 
> having to get token.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to