MCP OAuth limited to public clients, no revocation #233

Open
opened 2026-11-21 12:37:04 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-mcp/src/oauth.rs (module)
What is hacky: no client_credentials/device flow; logout only forgets tokens without revoking.
Proper fix: support those flows and RFC 7009 revocation.
Original comment: "ponytail: public clients only via DCR or a configured clientId; no client_credentials/device flow, no token revocation on logout (just forget)."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-mcp/src/oauth.rs (module) What is hacky: no client_credentials/device flow; logout only forgets tokens without revoking. Proper fix: support those flows and RFC 7009 revocation. Original comment: "ponytail: public clients only via DCR or a configured `clientId`; no client_credentials/device flow, no token revocation on logout (just forget)." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the mcp label 2026-11-21 12:37:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#233