Closed anilrp closed 5 years ago
Reproed, should be a bug in https://github.com/Azure/azure-signalr/blob/dev/src/Microsoft.Azure.SignalR.AspNet/ServerConnections/ServiceConnection.cs#L135 that when Authorize
fails, it throws and thus fails to close the client connection.
@JialinXin Would you mind taking a look?
Sure. Will take this.
I am using
.Net Framework 4.7.1
" and NOT .Net CoreFollowing is written in owin startup.cs file -
MapAzureSignalR
method is coming fromMicrosoft.Azure.SignalR.AspNet
And hub is having authorize attribute -
.net Client code is here which trying connect to signalr hub -
Azure SignalR Service is ignoring
AuthorizeClaimsAttribute
on Hub and connecting client without authorizing it