Commit ba25682
committed
Release 1.6.0
This release lets an application configure, on the OAuth provider, the requests the flow makes to
the authorization server: `token_request_params:` adds the parameters a server requires beyond
the grant itself, and `http_client_customizer:` adds middleware to the connection the flow uses for discovery,
registration, and token requests, behind a guard that refuses a request leaving the origin the flow asked for.
The legacy 2025-03-26 discovery path is now taken only when the server publishes no Protected Resource Metadata:
a fetch that failed to reach the server, or that answered `5xx` or `429`, raises `Flow::MetadataUnreachableError` instead,
and the metadata served on that path must name the MCP server's origin as its `issuer`. The `client_credentials`
and `jwt-bearer` grants run on that path, and a stored refresh token no longer crashes their providers.
`MCP::Icon.new` now refuses an icon the specification's schema rejects, such as one without `src` or
with `sizes` given as a String.
Three entries under "Changed" reject what earlier releases accepted and ship in a minor release under
the exceptions described in VERSIONING.md.1 parent 5ce47b6 commit ba25682
2 files changed
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
10 | 43 | | |
11 | 44 | | |
12 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
0 commit comments