Preserve requested OAuth scopes during authorization - #188
Conversation
c7d534e to
eeb38f1
Compare
|
Thanks for picking this up — I filed #178 and the diagnosis here matches what I saw: Three follow-ups from reading the merged diff, offered as observations rather than objections. Two are test-coverage gaps where the suite passes but does not exercise the property it appears to guard. 1. The "always shows consent" regression test cannot fail. The test constructs 2. The only end-to-end write assertion was removed in the same PR. Commit 3. With the HMAC helpers deleted it has zero source references, but it is still declared required in One design note, not a defect. The cookie you removed satisfied all four bullets of MCP's confused-deputy mitigation — Happy to open a PR for the cookie-bearing test fixture in (1) if that is useful. |
Summary
invalid_scope/authorizehas no authenticated user identity with which to look up the correct provider grantFixes #178.
Note: the registered scope is
access.write; the reportedaccess:writespelling is now rejected explicitly rather than silently downgraded.Verification
npm run check