Authenticate user at SignalR service RRS feed

  • Question

  • User1159202542 posted


    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
    he 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.

    Leandro Rodrigues

    Tuesday, July 4, 2017 9:22 PM

All replies