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]