Question:
I would like to pass a bearer token into the upload header to authenticate the upload and I need to have the token refreshed before each upload. Is there a way to do this?
Answer:
You may use the image.beforeUpload
event pass the token and some additional options to refresh the token as seen in this example: https://jsfiddle.net/womjoy/cej7p42a/