I have autosave feature set to true which works just fine. However when the JWT token expires, i need to update the token in the editor configurations so that autosave feature can keep on working.
The token expires after 15 minutes and a refresh token method fetches a new token which is working fine but when i update the editorConfigurations to use the new token - it still keeps using the old one (unless i destroy and reinitiate the editor). Any pointers how to update the requestHeaders object?
I have
autosave
feature set totrue
which works just fine. However when the JWT token expires, i need to update the token in the editor configurations so that autosave feature can keep on working.The token expires after 15 minutes and a refresh token method fetches a new token which is working fine but when i update the editorConfigurations to use the new token - it still keeps using the old one (unless i destroy and reinitiate the editor). Any pointers how to update the
requestHeaders
object?