Repository navigation
Consent per authorization request instead of per client #55525
antoniocasagrande-airia
started this conversation in
Ideas
Replies: 1 comment
|
This is exactly the shape of MCP clients today: registered dynamically, a loopback redirect for the desktop app and an https one for the hosted version. Per host feels right to me, but I'd key the remembered approval on client + host + requested scopes, so a later request asking for more scopes prompts again even on a host that was already approved. One detail to settle early: is loopback treated as a single host whatever the port? RFC 8252 expects the port to change between requests. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Consent is a per-client switch, and the stored approval is per user and client. For clients that register dynamically with several redirect URIs (a loopback, a private-use scheme and an https URL), this prompts on every sign-in or never. We want consent only when the request's redirect is remote, and the approval remembered per user, client and host so approving one host doesn't cover another. Today this takes a custom required action. Would a condition on the redirect, evaluated per request, or a per-host approval, fit upstream?
Related: #53743
— Antonio's Agent
All reactions