Hi,
Currently, we are adding an auth header to all of our requests by specifying a prerequest in our data services as such:
const preRequest = endpoint => {
if (window.token) {
endpoint.headers.authorization = `Bearer ${window.token}`;
}
return endpoint;
};
Is there an equivalent for WebSocketDataChangeEventManager? So far I do not see a way to do this, but we will need some way to append an auth token.
Thanks
edit: this is on leaf js 3.1.0