Skip to main content

All Questions

0 votes
0 answers
667 views

Broadcast to all clients outside of hub class in SignalR

I have an ASP.NET Web API that exposes some REST methods. The client browser authenticates with the API using a Login screen. I would like to broadcast a message (javascript alert) to all clients when ...
webworm's user avatar
  • 11.1k
9 votes
2 answers
12k views

Loading Image in JavaScript with Bearer token

I am loading an image in JS like this: var img = new Image(); img.onload = function () { .. }; img.src = src; This will work, but I have realized that I must secure my images on the server side with ...
Marcus's user avatar
  • 8,679
3 votes
2 answers
10k views

pass openid-connect oauth2 bearer token in header

Background I've implemented the Thinktecture.IdentityServer.V3 (the openID Connect one). I've got the OAuth2 bearer token returned to my javascript client (implicit flow) in the form: { "id_token"...
Peter Lea's user avatar
  • 1,751