Repository navigation
[release/11.0] [SignalR] Bind connection tokens to their endpoint mapping - #69835
Merged
Merged
Conversation
github-actions
Bot
requested review from
BrennanConroy and
halter73
as code owners
October 14, 2026 18:51
Contributor
|
Hi @github-actions[bot]. Please make sure you've updated the PR description to use the Shiproom Template. Also, make sure this PR is not marked as a draft and is ready-to-merge. To learn more about how to prepare a servicing PR click here. |
Contributor
|
Hi @github-actions[bot]. This PR was just approved to be included in the upcoming servicing release. Somebody from the @dotnet/aspnet-build team will get it merged when the branches are open. Until then, please make sure all the CI checks pass and the PR is reviewed. |
wtgodbe
approved these changes
Oct 14, 2026
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #69279 to release/11.0
/cc @BrennanConroy @javiercn
[SignalR] Bind connection tokens to their endpoint mapping
Bind SignalR connection tokens to their originating endpoint mapping.
Description
Assign each
MapConnectionsregistration a unique internal mapping identity and retain it on negotiated connections. Token-consuming requests now verify that the selected endpoint has the same identity, so a token negotiated on one mapping cannot be used by another mapping.This preserves normal same-mapping behavior, including long polling, WebSockets, authentication refresh, and direct WebSocket connections. No public API is added.
Fixes #69090
Customer Impact
No impact on all supported scenarios, only prevents misuse.
Applications with multiple
MapConnectionsregistrations now consistently apply the options configured for the mapping that negotiated each connection, rather than accepting its token on a different mapping.Regression?
Risk
The change is limited to internal connection lookup and endpoint metadata. Coverage verifies that tokens are rejected on an unrelated mapping and continue to work on their originating mapping across normal transport, WebSockets, and authentication-refresh paths.
Verification
Packaging changes reviewed?