For security, Google recommends using the "drive.file" scope for the Google Drive API to limit file access. I'm trying to work within that scope, but the Picker API doesn't really gel with Manifest Version 3.
Whenever I try to call the API from a sandboxed page, the API throws an error saying I need to allow-same-origin on the document, which is not allowed in Chrome Extension sandbox pages.
Is there any workaround? The only alternative is to up the scope of the Drive API and it's seemingly impossible to get CASA verification for a functional Chrome Extension.