dotnet / dotnet/AspNetCore.Docs

Please clarify use of accessTokenFactory for websocket connections

Open
#18,265 1 comment 2 reactions 0 assignees View on GitHub
SignalR Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

`accessTokenFactory` alludes to obtaining a string to use in HTTP requests, but I also see it added to the initial request on wss (and, presumably, ws). ws/wss are not the same as http/https. They are different protocols. Could you please clarify in the documentation what is meant?

I also do not see `accessTokenFactory` be called in subsequent websocket interactions, so if a token does change, I do not see this function called again. In that regard, if you truly only meant http, then documentation would be correct in that case.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: de8cdc99-48bb-3266-05bb-eda98f59f2e2
* Version Independent ID: 66d252c3-6300-7e28-9aa0-ef2ff66e7a76
* Content: [ASP.NET Core SignalR configuration](https://docs.microsoft.com/en-us/aspnet/core/signalr/configuration?view=aspnetcore-3.1&tabs=javascript#feedback)
* Content Source: [aspnetcore/signalr/configuration.md](https://github.com/dotnet/AspNetCore.Docs/blob/master/aspnetcore/signalr/configuration.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-signalr**
* GitHub Login: @bradygaster
* Microsoft Alias: **bradyg**

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.