Skip to content

[release/11.0] [SignalR] Bind connection tokens to their endpoint mapping - #69835

Merged
wtgodbe merged 1 commit into
release/11.0from
backport/pr-69279-to-release/11.0
Oct 14, 2026
Merged

wtgodbe merged 1 commit into
release/11.0from
backport/pr-69279-to-release/11.0

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

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 MapConnections registration 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 MapConnections registrations now consistently apply the options configured for the mapping that negotiated each connection, rather than accepting its token on a different mapping.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

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

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

@BrennanConroy BrennanConroy added the Servicing-consider Shiproom approval is required for the issue label Oct 14, 2026
@dotnet-policy-service

Copy link
Copy Markdown
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.

@BrennanConroy
BrennanConroy requested a review from artl93 October 14, 2026 19:00
@BrennanConroy BrennanConroy added Servicing-approved Shiproom has approved the issue and removed Servicing-consider Shiproom approval is required for the issue labels Oct 14, 2026
@dotnet-policy-service

Copy link
Copy Markdown
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.

@BrennanConroy BrennanConroy added the area-signalr Includes: SignalR clients and servers label Oct 14, 2026
@wtgodbe
wtgodbe merged commit 2dd208b into release/11.0 Oct 14, 2026
49 checks passed
@wtgodbe
wtgodbe deleted the backport/pr-69279-to-release/11.0 branch October 14, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-signalr Includes: SignalR clients and servers Servicing-approved Shiproom has approved the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants