Hi
How do we add JWT authentication into Echo replication? Or is there another best practise/recommended way to secure the replication to authorized users only.
I have XDATA + JWT authentication working well, but as Echo logs also contains the customer data, it would also make sense we need to secure this.
In XData, the following was added. But in Echo there is no publicly available TXDataClient to hook on the authentication processing.
FXDataClient.HttpClient.OnSendingRequest :=
procedure(Req: THttpRequest)
begin
Req.Headers.SetValue('authorization', 'Bearer ' + FToken);
end;
Thanks!
L