You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by "wutongyuonce (via GitHub)" <gi...@apache.org> on 2026/09/09 04:49:46 UTC
[PR] fix(mcp): advertise Apache identity in OAuth DCR [maka]
wutongyuonce opened a new pull request, #5073:
URL: https://github.com/apache/maka/pull/5073
## Summary
MCP OAuth dynamic client registration still advertised the pre-Apache GitHub org and always set `software_id` to `maka-desktop`. Consent screens and IdP policy that key off those fields therefore saw a stale identity.
This PR points `client_uri` at `https://maka.apache.org/en/` and sets `software_id` to the running `clientName` (`maka`, `maka-tui`, or `maka-desktop`). Tokens, redirect URIs, and the authorization flow are unchanged.
Fixes #5072
## Verification
- `npm --workspace @maka/mcp run build && node --test packages/mcp/dist/__tests__/oauth.test.js` — 39 passed
- Did not run root `lint` / `format:check` / full `npm test`
## Review
Independent Codex review (read-only) found no must-fix issues. Follow-up: unit test now also locks `redirect_uris` and `grant_types`. Skipped extra desktop/TUI injection tests — caller chain already passes distinct `clientName` values.
## AI use
Select exactly one:
- [ ] No generative tool made a substantive contribution
- [x] Generative tooling made a substantive contribution
Tool(s) and scope: Pi implemented the metadata change, tests, issue, and PR text. Codex ran a read-only review.
## Checklist
- [x] Tests cover the change and fail without it
- [x] Lint, format, typecheck and the affected suites pass locally
Does this PR entail a change in behavior?
- [x] Yes — described under Summary above
- [ ] No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
Re: [PR] fix(mcp): advertise Apache identity in OAuth DCR [maka]
Posted by "Astro-Han (via GitHub)" <gi...@apache.org>.
Astro-Han merged PR #5073:
URL: https://github.com/apache/maka/pull/5073
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org