oauth 2.0 - How to Insert a Document to google drive using java without user interaction Oauth2 -


my requirement upload files google drive without having user interaction.i need use oauth2 .i have tried services account can upload files , share .uploaded files go "shared me" section .has 1 come across such issue. there solution.

if understand question, want upload files drive account owned application, rather owned end user>

you can either using regular account or using service account.

to use regular account, (as account owner) need one-off auth refresh token, store. can use time generate access token needed invoke actual drive api. can generate refresh token using oauth playground, no need write code. answer how authorise app (web or installed) without user intervention? (canonical ?)


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -