My application needs to read the data from a JSON file on Google Drive before anyone authenticates so the data is displayed publically in the application.
The JSON file is public (anyone with the share link can view) so I tried to fetch the data using the webContentLink
, but it failed because CORS header is not present on the requested resource.
There are similar questions about this (e.g. this), but they are from years ago and I couldn't seem to find a good answer.
Is there an alternative way for me to access a public file without authentication? Thank you.