Commit 4f9f9c1
fix: AuthenticatedHttpMessageHandler tolerates missing AzureAd:Scopes
In the WebApp, this handler is registered but unused (the WebApp has its
own OIDC-based AuthenticatedApiDelegatingHandler). Previously it threw
on construction if AzureAd:Scopes was missing. Now it defaults to empty
scopes and short-circuits SendAsync — a no-op passthrough.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 4d32c64 commit 4f9f9c1
File tree
1 file changed
+4
-2
lines changed- src/SentenceStudio.AppLib/Services
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments