File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/scenarios/client/auth Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,25 @@ beforeAll(() => {
1414 setLogLevel ( 'error' ) ;
1515} ) ;
1616
17+ const skipScenarios = new Set < string > ( [
18+ // Waiting on typescript-sdk support in bearerAuth middleware to include
19+ // scope in WWW-Authenticate header
20+ // https://github.com/modelcontextprotocol/typescript-sdk/pull/1133
21+ 'auth/scope-from-www-authenticate' ,
22+ // Waiting on typescript-sdk support for using scopes_supported from PRM
23+ // to request scopes.
24+ // https://github.com/modelcontextprotocol/typescript-sdk/pull/1133
25+ 'auth/scope-from-scopes-supported'
26+ ] ) ;
27+
1728describe ( 'Client Auth Scenarios' , ( ) => {
1829 // Generate individual test for each auth scenario
1930 for ( const scenario of authScenariosList ) {
2031 test ( `${ scenario . name } passes` , async ( ) => {
32+ if ( skipScenarios . has ( scenario . name ) ) {
33+ // TODO: skip in a native way?
34+ return ;
35+ }
2136 const runner = new InlineClientRunner ( goodClient ) ;
2237 await runClientAgainstScenario ( runner , scenario . name ) ;
2338 } ) ;
You can’t perform that action at this time.
0 commit comments