Well we cant use service account scheme as that one restricts completely to view or modify docs linked to that account using drive UI. So, we still want to read a particular users docs but without user to authenticate explictly
Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Fri, Jun 14, 2013 at 10:17 AM, Vinny P <[email protected]> wrote: > On Friday, June 14, 2013 12:00:59 PM UTC-5, Vivek Kumar wrote: > >> I dont have any users doing any explicit action. Our app sitting in GAE >> need to access google docs without any user intervention >> >> > Then you chose the wrong authentication scheme. In your SO post you linked > to the web app authentication scheme. If you have no users and need to > connect to Google, you need to use the Service Account authentication > scheme (it's the second radio option on the second picture in this album: > http://imgur.com/a/UUXyI ). The documentation for the service account > login is here: > https://developers.google.com/accounts/docs/OAuth2ServiceAccount but > essentially you have to cryptographically sign yourself. There is a library > and code example here: > https://code.google.com/p/google-api-java-client/wiki/OAuth2#Service_Accounts > > ----------------- > -Vinny P > Technology & Media Advisor > Chicago, IL > > My Go side project: http://invalidmail.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
