© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
6 replies
YureshTharushika

✅ SignalR authentication not working

Hi, im making a chat application with .net core and signalr. I use token auth. when im already authenticated but the message does not show it in this.

[Authorize]
public override async Task OnConnectedAsync()
{
await Clients.All.SendAsync("ReceiveSystemMessage",
$"{Context.UserIdentifier} joined.");
await base.OnConnectedAsync();
}

[Authorize]
public override async Task OnDisconnectedAsync(Exception exception)
{
await base.OnDisconnectedAsync(exception);
}

connection starts and only shows joined.
Please help
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ SignalR Not working
C#CC# / help
4mo ago
SignalR Groups not working
C#CC# / help
2y ago
Authentication problem in SignalR
C#CC# / help
2y ago
SignalR not working with blazor server app
C#CC# / help
3y ago