Skip to content

Commit 2c6efa2

Browse files
committed
fix comments
1 parent f357e77 commit 2c6efa2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/scenarios/client/auth/basic-metadata.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export class AuthBasicMetadataVar1Scenario implements Scenario {
7171
}
7272

7373
export class AuthBasicMetadataVar2Scenario implements Scenario {
74-
// TODO: name should match what we put in the scenario map
7574
name = 'auth/basic-metadata-var2';
7675
description =
7776
'Tests Basic OAuth flow with DCR, PRM at root location, OAuth metadata at path-based OAuth discovery path';
@@ -116,12 +115,6 @@ export class AuthBasicMetadataVar2Scenario implements Scenario {
116115
this.server.getUrl,
117116
() => `${this.authServer.getUrl()}/tenant1`,
118117
{
119-
// TODO: this will put this path in the WWW-Authenticate header
120-
// but RFC 9728 states that in that case, the resource in the PRM
121-
// must match the URL used to make the request to the resource server.
122-
// We'll need to establish an opinion on whether that means the
123-
// URL for the metadata fetch, or the URL for the MCP endpoint,
124-
// or more generally what are the valid scenarios / combos.
125118
prmPath: '/.well-known/oauth-protected-resource'
126119
}
127120
);

0 commit comments

Comments
 (0)