You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenRefine currently uses Google authentication for two different purposes: 1) creating projects from Google Drive or Google Sheets documents and 2) uploading data to Google Sheets / Drive. For the first, only read access is required and it's an unnecessary security risk to be asking for full read/write access as we currently do.
To Reproduce
Steps to reproduce the behavior:
Create project from Google Data
Login to Google
Note that the scopes listed in the OAuth authentication dialog include full access, not read only access
Current Results
Full read/write scopes are requested
Expected Behavior
drive.readonly and spreadsheets.readonly are requested instead of the full drive and spreadsheets versions.
The text was updated successfully, but these errors were encountered:
This would likely mean also having a workflow to request the additional permissions when exporting to Google Drive, if the user was already logged in with read-only permissions.
Currently I think the login flow is triggered by the absence of a cookie, but I think the preferred/recommended way is to use an access failure to trigger it, which I think would deal with both cases. Otherwise, you need to get into the business of introspecting the cookie contents to see what scopes it contains (and it still might not represent a valid token).
OpenRefine currently uses Google authentication for two different purposes: 1) creating projects from Google Drive or Google Sheets documents and 2) uploading data to Google Sheets / Drive. For the first, only read access is required and it's an unnecessary security risk to be asking for full read/write access as we currently do.
To Reproduce
Steps to reproduce the behavior:
Current Results
Full read/write scopes are requested
Expected Behavior
drive.readonly
andspreadsheets.readonly
are requested instead of the fulldrive
andspreadsheets
versions.The text was updated successfully, but these errors were encountered: