Some thoughts on the new elements: 1a. Why not leverage the `email` scope from OIDC instead of introducing a new token response `username` parameter? 1b. The draft says "the value MUST be the same in every token response issued under the same authorization." What is the expected behavior if the user changes their username? Related to above, getting an ID token would let clients detect this, as `sub` will be the same but `email` will change. 2. refresh_key looks complicated for clients and the AS to get right, with all the concurrency checks and required extra storage. It also requires the AS to store literal RT strings for an unbounded amount of time, which is a security regression for an AS that doesn't do that right now. I'm unclear why anything new here is needed and the profile can't require or at least strongly recommend DPoP for theft protection, rather than rotation.
On Tue, Nov 17, 2026 at 9:54 AM Neil Jenkins <neilj= [email protected]> wrote: > Hi > > Back at IETF120 <https://datatracker.ietf.org/doc/agenda-120-oauth/> I > introduced to the group an OAuth profile we needed in the email/calendar > space — a way for email/calendar clients to authenticate with an arbitrary > server without preregistration, so we can move the ecosystem beyond basic > username/password. The WG dispatched this back to the mailmaint group, as > this was primarily just putting together existing OAuth RFCs in a single > document that clients and servers could point to. > > This document is nearly complete, and we hope to take it to last call > soon. We welcome any review from members of the OAuth WG — you can find > the latest draft here > <https://www.ietf.org/archive/id/draft-ietf-mailmaint-oauth-public-07.html>. > Please send any feedback to the mailmaint list: [email protected]. Also, > we will be discussing the draft at the mailmaint session, 2pm tomorrow > in Golden Gate 1. Please do come along if you would like to contribute in > person. > > The draft does end up introducing three new protocol elements that are > fully compatible with existing RFCs but not defined elsewhere. These are: > > 1. A username property in the token response > > <https://www.ietf.org/archive/id/draft-ietf-mailmaint-oauth-public-07.html#name-token-response>, > to tell the client which account was actually authenticated. This is > necessary for email/calendar clients to display to the user sensibly what > they have configured, and also to ensure data is not mixed if the user > needs to re-authenticate and does so with a different account. > 2. A refresh_key token-request parameter. The client generates a > random key and persists it before each refresh, then reuses it on retries. > The server remembers the key for the most recently superseded refresh > token. If that old token comes back with the matching key, and its > replacement hasn't been used yet, the server re-issues the same new refresh > token instead of treating it as theft. This changes RFC 9700 §4.14.2: a > client that doesn't get the response to a token request can recover without > the user re-authenticating, and reuse is still detected. There's a full > discussion of this in section 6.4 > > <https://www.ietf.org/archive/id/draft-ietf-mailmaint-oauth-public-07.html#name-refresh-token-rotation-and-> > of > the draft. > 3. A new Interoperable OAuth Scopes Registry > > <https://www.ietf.org/archive/id/draft-ietf-mailmaint-oauth-public-07.html#name-interoperable-oauth-scopes-> > is > created. For arbitrary clients and servers to use OAuth successfully > together there must be agreed upon scopes, so this creates a registry to > store them and registers the ones mail, contacts, and calendar > client/servers need. > > Thanks for reviewing and any feedback. > > Cheers, > Neil. > _______________________________________________ > OAuth mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ OAuth mailing list -- [email protected] To unsubscribe send an email to [email protected]
