In am currently using a mechanism where my auth token is changed every five minutes and i have provided auth token in request header option, but when token is changed/refreshed, I change auth token using :
this.editorOptions['requestHeaders']['Authorization'] =bearer ${token};
But froala which is still open uses old token in requests until I close and reopen froala.
Is there any way so that I could update the token value while the editor is still open.
In am currently using a mechanism where my auth token is changed every five minutes and i have provided auth token in request header option, but when token is changed/refreshed, I change auth token using :
this.editorOptions['requestHeaders']['Authorization'] =
bearer ${token};
But froala which is still open uses old token in requests until I close and reopen froala.Is there any way so that I could update the token value while the editor is still open.