Setting Token to collaborativeEditingHandlerModule.updateRoomInfo

This function updates the room information and server url of the collaborative editing session. How do we properly set a bearer token for each update action?


1 Reply

CC Christian Casal January 9, 2025 01:44 PM UTC

ended up setting the prop directly at 

this.container.documentEditor.headers = [
{ 'Authorization': `Bearer ${ <some token>}` }
];

Loader.
Up arrow icon