Open wojtekhorembala opened 5 years ago
I have the same problem.
Propably I found the solution:
const connection = signalr.hubConnection('url', { headers: { 'Authorization':
Bearer ${valueObj.token}, 'Content-Type': 'text/plain;charset=UTF-8' } }
I used lib from microsoft and this run :P https://docs.microsoft.com/pl-pl/aspnet/core/signalr/javascript-client?view=aspnetcore-2.2
Hi, in the web application I use signalR for angular (https://www.npmjs.com/package/@aspnet/signalr)
When i connected, I send token, example from web app. (accessTokenFactory)
This is what my code looks like in a web application, can anyone help me open it in this library?