Skip to content

Commit a01476b

Browse files
committed
fix: don't leak escalated scopes in PRM scopes_supported for step-up test
1 parent a2ec2d4 commit a01476b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scenarios/client/auth/scope-handling.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export class ScopeStepUpAuthScenario implements Scenario {
418418
{
419419
prmPath: '/.well-known/oauth-protected-resource/mcp',
420420
requiredScopes: escalatedScopes,
421-
scopesSupported: escalatedScopes,
421+
scopesSupported: [initialScope],
422422
includeScopeInWwwAuth: true,
423423
authMiddleware: stepUpMiddleware,
424424
tokenVerifier

0 commit comments

Comments
 (0)