【发布时间】:2014-02-04 16:03:11
【问题描述】:
我有一个 google drive 应用程序,它不请求离线访问,并且已经安装并由用户授权。如果应用程序自己请求授权,则没有问题。
但是,最近每次从 Google Drive UI 打开文件时,都会出现授权提示:
This app would like to:
Have offline access
确定此请求仍然意味着它会在下次打开文件时出现。我可以在 Google Drive 生成的 URL 中看到它请求“access_type:offline”。我在云控制台中看不到任何设置来控制这一点,这对用户来说非常混乱。如何预防?
我看到很多类似的问题,但不是这样:
How to disable offline OAuth2 access from Google Drive SDK initiated connections?
Second authorization with same scope and offline access_type has unexpected permission dialog
"This app would like to: Have offline access" when access_type=online
The App keeps asking for permission to "Have offline access", why?
【问题讨论】:
标签: google-drive-api