We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb19f13 commit b0b0eafCopy full SHA for b0b0eaf
1 file changed
src/scenarios/client/auth/basic-metadata-var1.ts
@@ -29,6 +29,12 @@ export class AuthBasicMetadataVar1Scenario implements Scenario {
29
() => this.baseUrl,
30
() => this.authBaseUrl,
31
{
32
+ // TODO: this will put this path in the WWW-Authenticate header
33
+ // but RFC 9728 states that in that case, the resource in the PRM
34
+ // must match the URL used to make the request to the resource server.
35
+ // We'll need to establish an opinion on whether that means the
36
+ // URL for the metadata fetch, or the URL for the MCP endpoint,
37
+ // or more generally what are the valid scenarios / combos.
38
prmPath: '/.well-known/oauth-protected-resource'
39
}
40
);
0 commit comments