Context.User.Identity.GetUserId() and Context.User.Identity.Name are returning null in AppHub.cs (Hub) in signalR. In this I am using Token based authentication in Identity Framework.
Asked
Active
Viewed 466 times
1
-
Seems like an authentication issue, not a SignalR issue. Are you logged in? – Mark C. Jul 14 '16 at 12:53
-
yes.. logged in with tokens... and for signalR passing that token using Query string. Other than query string is there any way to pass token ?? – RohitV Jul 18 '16 at 04:36