Last post Aug 09, 2017 11:09 AM by Eric Du
Jul 04, 2017 09:22 PM|Leudassdf|LINK
I have a partial implementation of a Hub with no authentication implemented.
Today I spend my day searching for a way to force users to authenticate on SignalR Hub.
I also read the Microsoft documentation about the theme. https://docs.microsoft.com/en-us/aspnet/signalr/overview/security/hub-authorization
The problem is that I don't understand you I, as a web client, can connect to a remote SignalR passing the details of authentication. I need to have a strong security at the SignalR
Can anyone help me to understand you I can archive that?
I'm working with ASP.NET MVC application and another project with, at same solution, that is a WCF Service. This WCF Service doesn't have access to the data of authenticated user. I think that is the problem. Because a few months ago I already have implemented
a SignalR Hub, at the ASP.NET MVC application and, at the Context, I have the data of the authenticated user.
Hope that someone can help'me on that.
Jul 06, 2017 02:38 AM|Eric Du|LINK
as a web client, can connect to a remote SignalR passing the details of authentication. I need to have a strong security at the SignalR
According to your description, about how to connect .NET client and Server, please check this solution:
SignalR Secure Connection Between .NET Client and The Server:
Jul 06, 2017 07:16 PM|Leudassdf|LINK
Hi Eric Du,
Thanks for your reply.
At the StackOverflow question in provided link, they use a .NET client.
Aug 09, 2017 11:09 AM|Eric Du|LINK
About how to call hub and pass token, please refer to the following tutorial:
Passing token through http Headers SignalR: