C
C#16mo ago
Pokey

❔ SingalR Hub Bearer Token Auth

I am failing to see a simple way to add bearer token auth to a SignalR hub. The instructions on how to do this on the SignalR client are easy enough, and some examples show an Authorize attribute on the hub class, but I have added my own custom IAuthorizationFilter attribute to the class (which is used and works fine with controllers) but it is ignored when calling into the hub. What would the correct way to do SignalR bearer token auth be? Thanks!
1 Reply
Accord
Accord16mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server