dotnet / dotnet/aspnetcore

`IUserIdProvider` peer Hub, and [...]

Open
#13,021 9 comments 0 reactions 1 assignee Claimed by @BrennanConroy View on GitHub
affected-very-few area-signalr Docs net8_docathon severity-nice-to-have task
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is your feature request related to a problem? Please describe.
When app **not** use standard `Authentication/Authorization` and there multiple type of account, the user info is from different cookies, there will be a problem to use the same type of `IUserIdProvider` that across different Hub.

### Questions

I can not reset the connection's userId, and also can not filter all the connection by filter `Context.Items`, and also can not get userId from a group , how do I do the following. For example:
- A chat room , that use can from anonymous state to login state, (is this user must disconnect and reconnect with login cookie)
- how to seed particular message to partial users of room (room managers or VIPs)
- show room users

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.