I can't find what I'm looking for: configure/file-image-upload.md
The documentation seems to imply that we can let TinyMCE use its own images_upload_handler by just specifying a proper endpoint on images_upload_url.
But I need to pass a header for authentication. I tried setting images_upload_credentials to true but it didn't work which is not surprising since I don't see how my header would be retrieved by TinyMCE.
The documentation is not really clear on that part.
Is it at all possible to send authenticated requests with just images_upload_url and images_upload_credentials?
Or do we need to implement our own images_upload_handler?
In that case I think it would be better to mention it in the documentation. And otherwise, clarify how are headers and cookies retrieved by TinyMCE.