Open Neftedollar opened 4 years ago
Hello, how can I allow to connect to ws (AspNetCore.Middleware) only authenticated users? If use Giraffe, I usually use requiresAuthentication to protect path, but I can't do it with this middleware.
requiresAuthentication
Can I use something like this(SignalR authentication): https://docs.microsoft.com/en-us/aspnet/core/signalr/authn-and-authz?view=aspnetcore-2.1#bearer-token-authentication
Hi, I'm unsure about this. Probably you should use some features / extensions to AspNetCore, but I really don't know.
Hello, how can I allow to connect to ws (AspNetCore.Middleware) only authenticated users? If use Giraffe, I usually use
requiresAuthentication
to protect path, but I can't do it with this middleware.Can I use something like this(SignalR authentication): https://docs.microsoft.com/en-us/aspnet/core/signalr/authn-and-authz?view=aspnetcore-2.1#bearer-token-authentication