Node.js google drive api - authorize without consent screen

后端 未结 2 1076
时光说笑
时光说笑 2021-01-06 06:08

I\'m interesting is this possible to use Google Drive API without consent screen in Node.js app?

  • I want using only account where I enable app engine. Api must
2条回答
  •  一向
    一向 (楼主)
    2021-01-06 06:31

    Do not use a Service Account. It doesn't do what you think it does. What you need is a stored Refresh Token for your Google Account. I've set out all of the steps at How do I authorise an app (web or installed) without user intervention? (canonical ?) , including sample JavaScript which will run under node.

提交回复
热议问题