Securing Echo with Authentication


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)
      Req.Headers.SetValue('authorization', 'Bearer ' + FToken);


Indeed, there is currently no option for that. The next version will have such option in TEcho class. Can you please contact us through e-mail if you want to receive the latest development source code that includes that feature?

Thanks Wagner.