Commit 5819a96
Fix silent token refresh to respect IncludeResourceIndicator and add doc warning
- GetAccessTokenSilentAsync now omits the resource parameter from token
refresh requests when IncludeResourceIndicator is false, matching the
behavior of the 401 handler and authorization URL paths.
- Added warning comment in getting-started.md about .GetAwaiter().GetResult()
deadlock risk in SynchronizationContext environments.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ac75230 commit 5819a96
File tree
2 files changed
+4
-1
lines changed- docs/concepts
- src/ModelContextProtocol.Core/Authentication
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
157 | 160 | | |
158 | 161 | | |
159 | 162 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments