Add custom authorization logic

Hi,

I currently are checking out Uppy. I want to be able to upload files from different locations, like from my computer or dropbox or whatever. I then want that “upload” request to be sent to my server. I then want to upload it to S3.

How exactly do I add this logic resp. where?