Skip to content

Commit 2844353

Browse files
committed
fixup! feat(server): owner-approved external MCP clients over DPoP device grants (#1636)
Fork-Domain: device-auth Fork-Tier: core
1 parent 0fd87c9 commit 2844353

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/auth/DeviceAuthorization.fork.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ const make = Effect.gen(function* () {
334334
if (mcpPolicy !== null && request.proofKeyThumbprint === null) {
335335
return yield* new DeviceAuthorizationMcpPolicyError({ reason: "unbound-request" });
336336
}
337-
const allowedScopes = request.requestedScopes ?? AuthAdministrativeScopes;
337+
const allowedScopes = request.requestedScopes ?? AuthStandardClientScopes;
338338
if (input.scopes?.some((scope) => !allowedScopes.includes(scope))) {
339339
return yield* new DeviceAuthorizationScopeError({ allowedScopes });
340340
}

‎apps/server/src/cli/authDevice.fork.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {
2-
AuthAdministrativeScopes,
2+
AuthStandardClientScopes,
33
type AuthEnvironmentScope,
44
ProjectId,
55
ProviderInteractionMode,

0 commit comments

Comments
 (0)