Skip to content

Commit d89370e

Browse files
committed
fix www-authenticate in scope scenario
1 parent 3ef0762 commit d89370e

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
@@ -351,7 +351,7 @@ export class ScopeStepUpAuthScenario implements Scenario {
351351
.status(403)
352352
.set(
353353
'WWW-Authenticate',
354-
`Bearer scope="${requiredScopes.join(' ')}", resource_metadata="${resourceMetadataUrl()}"`
354+
`Bearer scope="${requiredScopes.join(' ')}", resource_metadata="${resourceMetadataUrl()}", error="insufficient_scope"`
355355
)
356356
.json({
357357
error: 'insufficient_scope',

0 commit comments

Comments
 (0)