File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
src/scenarios/client/auth Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ export class AuthBasicMetadataVar1Scenario implements Scenario {
7171}
7272
7373export 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 ) ;
You can’t perform that action at this time.
0 commit comments