You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Grant Management: allow a subject-proof caller to query/revoke another client's grant for the same user #889
Grant Management lets only the client that owns a grant query or delete it (GET/DELETE /grants/{grant_id}). With #883 moving the spec toward final, one gap we hit in deployment may be worth a decision, even if the answer is "out of scope, use an extension".
Case. A user signs in to a web application (client A) and has also authorized other clients (B, C) for the same resources, for example AI agents connected over MCP, or a bank's own app next to third-party apps. Users expect client A to list those connections and offer "disconnect" for each. Client A is not the owner of B's grant, so Grant Management gives it no way to read or revoke it. An admin-level API is too broad for this.
Proposal (running code). A "subject-proof caller": client A presents an access token that the AS issued to client A for the same user. The AS checks that the token is valid and not revoked, that its client_id is the authenticated caller, and that it names the same user as the target grant. Client A may then read that grant's metadata or revoke exactly that grant. Public clients are excluded by default, because a leaked token of a public client is its own valid proof.
We specified this for RFC 7662 introspection and RFC 7009 revocation in an individual draft, and implemented both:
Should Grant Management allow a non-owner caller under rules like these, or leave it to an extension?
If an extension: would it be acceptable for DELETE /grants/{grant_id} to accept a subject_proof_token, so that one mechanism covers Grant Management, introspection and revocation?
Activity
jogu commentedon Dec 2, 2026
Discussed on today's WG call - we weren't too sure on how widely applicable this is, so it might be appropriate to leave to it to an extension.