Commit 596e2aa
Pass OAuth scopes_supported through to PKCE middleware (v0.6.12)
Use the resource metadata's advertised scopes when initializing the
OAuth PKCE middleware so authorization requests match what the server
publishes, falling back to "openid email" when scopes are unset.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 50823b4 commit 596e2aa
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
2237 | 2242 | | |
2238 | 2243 | | |
2239 | 2244 | | |
| |||
2263 | 2268 | | |
2264 | 2269 | | |
2265 | 2270 | | |
| 2271 | + | |
2266 | 2272 | | |
2267 | 2273 | | |
2268 | 2274 | | |
| |||
0 commit comments