By default, signalr sets Context.UserIdentifier from ClaimTypes.NameIdentifier in jwt token.
But I want to set it to different claim from token, which is userId and not username, because when I send message to specific user I have his id available.
Is there a way to do it?