-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resource key may be necessary to access certain shared files #371
Comments
Thanks for the heads up and details. |
Just checking, has this been addressed? As far as I can tell, the package (v2.0.0) is still working as intended, although we are over the 13th Sept 2021 deadline. |
I haven't changed anything yet, no. As for the deadline passing, I find this is often how deadlines go with Google service changes. Of course, we can't count on it, but the transition period often ends up being longer (sometimes MUCH longer, like years) than officially indicated. But I'm not counting on that. I'm just working on something that's a higher priority atm. |
https://developers.google.com/drive/api/v3/resource-keys https://workspaceupdates.googleblog.com/2021/06/drive-file-link-updates.html
where the "developer resource" they refer to is the first link above. |
Quoting from https://stackoverflow.com/a/69099793: API to get the file
So a link that used to look like will now look like |
Email I received 2021-08-10 Hello Google Drive Developer, We have identified you as a Developer who has used the Drive API in the last 30 days. We are writing to let you know that on September 13, 2021, Drive will apply a security update that will change the links used to share some files, and may lead to some new file access requests. Access to files won’t change for people who have already viewed or modified these files. Please update your code as detailed below before September 13, 2021, to avoid failing requests. What do I need to know? In addition to the item ID, your application may now also need a resource key to access these items. Without a resource key, requests for these items may result in a 404 Not Found error (See below for details). Note that access to items that are directly shared with the user or group are not affected. Will this change affect me?. What do I need to do?. Changes to the Drive API. If the file is a shortcut file, then the resource key for the target of the shortcut can be read from the Changes to Apps Script. Note: When fetching a file or folder, the resource key can be specified on the Changes to Drive UI Integrations The state information for a New URL will contain Which projects may be affected? googlesheets4-dev (robust-fin-276504) To get help with these changes, see the Drive API support options on our website. Thanks for choosing Drive API. Sincerely, The Google Drive Team |
My current inclination is to sit on this until I have a concrete example of someone bumping up against it. I am not immediately able to get my hands on a concrete example of a file for which the resource key is necessary for API access. It is not practical to adapt to this change until I have a concrete example to work against. |
Just a head's up: a security fix for Google Drive URLs will be rolled out in Sept 2021.
https://arstechnica.com/gadgets/2021/07/heres-what-that-google-drive-security-update-message-means/
I'm not sure exactly what updates need to be made to
googledrive
to account for this change.The text was updated successfully, but these errors were encountered: