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
Let hosts request silent authentication recovery #560
Background work, such as PR monitoring, may need a renewed token without interrupting the user. AHP's required / expired reasons describe credential state, not whether sign-in UI is allowed.
Possible proposal
Add an optional allowInteraction field to auth/required:
This does not change token freshness: expired still forbids blindly replaying the challenged token. Hosts must negotiate support before relying on silent-only behavior; older clients may ignore an unfamiliar field.
Validation
Check background expiry, consent-required recovery, and explicit sign-in. Silent recovery must not open dialogs or cause retry/prompt loops.
Post-MVP and nonblocking. This is a proposal for discussion, not a reproduced bug or a requirement to change the current MVP.
changed the title [-]Clarify when background authentication recovery may prompt users[/-][+]Let hosts request silent authentication recovery[/+]on Nov 3, 2026
I'm curious if "allowInteraction": false is better served with a description of state instead of a description of UI behavior. Like for example if the auth is currently required to handle a tool call or not.
Agreed, Connor Peet (@connor4312). The current protocol already gives us what we need: the host describes the authentication requirement, and the client decides how to acquire credentials and whether to prompt, then delivers a token via authenticate. No additional interaction flag is needed, so I am closing this proposal.
Activity
[-]Clarify when background authentication recovery may prompt users[/-][+]Let hosts request silent authentication recovery[/+]connor4312 commentedon Nov 3, 2026
I'm curious if
"allowInteraction": falseis better served with a description of state instead of a description of UI behavior. Like for example if the auth is currently required to handle a tool call or not.TylerLeonhardt commentedon Nov 6, 2026
Agreed, Connor Peet (@connor4312). The current protocol already gives us what we need: the host describes the authentication requirement, and the client decides how to acquire credentials and whether to prompt, then delivers a token via
authenticate. No additional interaction flag is needed, so I am closing this proposal.