Hi,
I’m building a server with a JWT based security. What I’d like is to have downloads from the FileManager pass an Authorization header with a value of "Basic ". Can this be done with FileManager?
Thanks,
Lee
Hi,
I’m building a server with a JWT based security. What I’d like is to have downloads from the FileManager pass an Authorization header with a value of "Basic ". Can this be done with FileManager?
Thanks,
Lee
Hi Lee,
FileManager uses form for download. So, it’s impossible to add header. However, you can block default method and call any custom function:
fmanager.attachEvent("onBeforeRun", function(id){
// your code here
return false;
});