This is a dev diary of implementing Filerion, a web-based file manager for online storage (Dropbox, OneDrive, Google Drive, s3 and more).
Backblaze API issues authorization tokens valid for 24 hours. I didn’t handle the expiration at all and decided to do it in the backend (instead of in the client).
That required re-working all of the backend code but it’s all for the better.