Conversation
niemyjski
force-pushed
the
issue/oauth-consent-scope-errors
branch
from
October 5, 2026 02:17
742e70e to
1338c45
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MCP consent discarded OAuth error descriptions from HTTP 400 responses because FetchClient puts non-success JSON in
problem. Show those descriptions through the existing shared Problem Details helper, name only known disallowed scopes, and make the fallback match the server’s optional offline access.Scope and organization selections now stay disabled until consent validation succeeds and while approval is submitted. Each new authorization query requires fresh validation; overlapping responses cannot overwrite the current request, including navigation back to an identical query. Current-route documentation explains scope meanings and the distinction between client registration settings and user grants.
Closes #2615. Registration defaults and authorization enforcement are unchanged.
Verification at
8d9db6bff8461a23138f36daa4434ac13dac567c:npm run validate: zero Svelte errors/warnings; formatting and lint pass. Production build passes.The reporter’s original registration payload is unknown. Optional standalone strict E2E typechecking still reports the existing optional-email error in
e2e/fixtures/api-client.ts:218; the changed tests introduce no additional errors. Local Docker remains unavailable; the live service journey was verified against this commit’s hosted services.