Summary

  • Justin Richer's 28 September 2026 individual Internet-Draft, draft-richer-oauth-oob-authcode-00, packs an OAuth authorization code and state into one copyable string so a browser helper page can hand it to a waiting remote-terminal client.
  • The HKDF-and-XOR packaging is a convenience, not a new security guarantee: the helper origin still receives code and state, and the client still has to bind the result to its own pending request and authorization-server context.

A remote terminal can start an OAuth authorization request without being able to host a redirect address the user's browser can reach. The browser and the command line then sit on opposite sides of a gap that engineers have patched, over the years, with increasingly creative stationery. draft-richer-oauth-oob-authcode-00 slides a registered helper page onto the browser side and a single paste onto the terminal side. It was submitted on 28 September 2026 as an individual Internet-Draft with Informational intent. Datatracker lists I-D Exists; it is not a working-group product, an IETF-approved standard, or an RFC. In IETF arithmetic, that is one author's proposal — not a mandate, and not consensus.

The authorization server sends its usual authorization response to the registered helper URI. The page reads code and state, derives HKDF material from state, folds it together with XOR and a checksum, and displays a combined value. The user copies that value into the waiting client. Because the client kept the original state, it can recover the code and walk to the ordinary token endpoint. No new server grant, no authorization-server extension beyond registering the helper redirect.

That design simplifies a human action; it does not manufacture end-to-end confidentiality. The draft says as much: it explicitly disclaims a security improvement over the basic authorization-code grant. The browser-delivered code still rides in a GET request to the helper origin. A static page may dodge server-side session state, but its host, CDN, cache, or mirror can still meet the URL parameters. Calling a page static does not turn its delivery chain into an invisible channel.

Nor is the combined string a certificate that the expected authorization server acted. Anyone can run the algorithm with arbitrary values. The client must bind the recovered code to the authorization request it actually opened, the state it retained, and the token endpoint it meant to use. A client that cannot retain that state cannot follow the combined-code route at all. The draft also offers a whole-URL paste when page JavaScript fails — a fallback that transfers the original URL parameters, not the same HKDF-combined value.

The proposed value carries code and state, not every authorization-response field. In particular, iss is not carried as an independent response parameter; the draft discusses folding it into HKDF's INFO when a client knows the server sends it. RFC 9207 already defines issuer identification as a mix-up countermeasure for clients juggling multiple authorization servers. This draft neither retires that concern nor proves a mix-up for every implementation. The question for a multi-server client is how its existing issuer-binding decision survives the handoff.

RFC 8628's device authorization grant remains another route, with server participation and polling. The new proposal targets a different deployment choice: reuse an authorization-code flow while accommodating a remote client. It is not evidence that device authorization failed, nor an instruction to migrate. The economically attractive part is less server work; the governance cost is that a helper origin and the clipboard become part of the operating path.

Sources