ResumableUploadForGoogleDrive_js icon indicating copy to clipboard operation
ResumableUploadForGoogleDrive_js copied to clipboard

Hide Token

Open manujindal77 opened this issue 3 years ago • 2 comments

Is it possible to use a Nodejs server to generate the Upload URI and then perform the chunk upload on the client side? The aim is to hide the token from the client.

manujindal77 avatar Apr 13 '22 10:04 manujindal77

I tried to modify the code to generate the upload URI on the server instead of passing the access token. However the chunks would not upload and return the CORS error.

image

manujindal77 avatar Apr 14 '22 10:04 manujindal77

This is something I'm curious about as well. Is there a way to do this?

pinghsien422 avatar Mar 10 '23 07:03 pinghsien422