I'm using TsgcWebSocketHTTPServer to serve not only the WebSocket connection but some HTTP requests.
While I'm using basic authentication - the websockets authenticate properly.
But when I try to request any http resource with "fetch" GET from Javascript - I'm getting "401 - Unauthorized".
Unfortunately the OnAuthentication event is not executed while trying to request HTTP resource.
How to properly call "fetch" with credentials to get resource from HTTP server using "TsgcWebSocketHTTPServer" component ?
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »