DVLP / signalr-no-jquery

120 stars 77 forks source link

How to pass authentication token to signalR URL as query string parameter or whichever way possible? #27

Closed prh7 closed 4 years ago

prh7 commented 7 years ago

Any sort of help will be appreciated!!!

LimarenkoDenis commented 6 years ago

probably like this

const access_token = '   ';
const connection = hubConnection('http://[address]:[port]', {
  qs: { access_token }
});