Re: [OAUTH-WG] JMAP's experience with proposing an Authentication model
Warren Parad <wparad@rhosys.ch> Tue, 23 February 2021 13:15 UTC
Return-Path: <wparad@rhosys.ch>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD9EB3A2B09 for <oauth@ietfa.amsl.com>; Tue, 23 Feb 2021 05:15:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rhosys.ch
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9fzzV6pbOFdk for <oauth@ietfa.amsl.com>; Tue, 23 Feb 2021 05:15:00 -0800 (PST)
Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6D7833A2BF7 for <oauth@ietf.org>; Tue, 23 Feb 2021 05:14:11 -0800 (PST)
Received: by mail-io1-xd2e.google.com with SMTP id a7so16973556iok.12 for <oauth@ietf.org>; Tue, 23 Feb 2021 05:14:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rhosys.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rOYOAquEGeeHQxF1XaswC0OkeXF4A9MKDW0wtFMwBHg=; b=XmNqkrd0NI55G+UBhaYjOr+VwxEj0UIApQx23OT0H3ts6prglrNLg6puu45ovJzxq6 2aQ4s5s0wGWt+njS7lxXlvWoHiUYLD2nBiAgrl5YxNP5F8BtZ5RvYSaEYeJK+fV5dG5c KvqDBQrKg0Qh3zBKXHdYNeJ9saxcBNmRFlyRRIPXJiTCvugOrlgPuwh5zgg4gZjU6u6B fdgdXmjt03c/uc/gssQNeZYExK1t3e6WDx+zplOrhKoXjywbjPEwCVvKF3GjeRPrN9gB kKrS1VHB9eWIVOh0OV91kipHwZ5//1rPb7ARIwVwoBEjRUWLwkuh8BI2SaqVTfle2l5S 4HRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rOYOAquEGeeHQxF1XaswC0OkeXF4A9MKDW0wtFMwBHg=; b=ZdVJAIyIw17O5WE0Bj2pIlQ2CKsbMDYqqCzHuWcO+aTvgpyUxtm685ToikJsb5aolz M7eeyB8JMn+pKaLhCRx9QH06GtlOsESr0nuRV7m9HqD8qcneBt6ef1zziom5jxagZY47 xvPNgMpX1xoepme/mXeJeW9tZc6ALoiQJZqcW69X8QE6P1z207GuXkrLb2VqpD9GarEg wTjWNsFd/az2h7XYUP/h1UmMVPLEt0pEaAim0uIwn4BjFFOSkHeWcTSkxX2kIpcZablV r7i9aJcUNOZjhhlx3SIWBxL/rIwm1hXV4jb1D5DlsL+gVYBsMGtRJtydfrBVNuQlGsck a2ZA==
X-Gm-Message-State: AOAM531UjS970I3hiHE3w9ginIZ1/JkIVw3fH6LMBweEEoP/FLurNDBh Xdu/HHg+GTOXUwhTtO64NhqFwFu6lCC4iFH2ZpGNyfhHXjwwOMM=
X-Google-Smtp-Source: ABdhPJwQYF/NuTTfPZRX5JcDKxqiueA9zoAytNm7rqSCLNRTc3D24w1RSBJ2dcHyzw7o6SXaJZVxkN/5CDJEb7hXVpk=
X-Received: by 2002:a02:3b01:: with SMTP id c1mr27786445jaa.109.1614086050364; Tue, 23 Feb 2021 05:14:10 -0800 (PST)
MIME-Version: 1.0
References: <37eecb9b-f0eb-e21c-b162-b1f0339e4981@si6networks.com> <3c2d646d-f18d-4d88-b458-29dbd486432b@beta.fastmail.com> <AM0PR08MB371669108E9CEA561BEC9EF6FA809@AM0PR08MB3716.eurprd08.prod.outlook.com> <d6648437-332b-4668-a1c7-591f2c287539@dogfood.fastmail.com> <AM0PR08MB371608D64FF113417D8B3C2DFA809@AM0PR08MB3716.eurprd08.prod.outlook.com> <98f539f4-1207-4a03-ae1f-f377d6964122@dogfood.fastmail.com>
In-Reply-To: <98f539f4-1207-4a03-ae1f-f377d6964122@dogfood.fastmail.com>
From: Warren Parad <wparad@rhosys.ch>
Date: Tue, 23 Feb 2021 14:13:59 +0100
Message-ID: <CAJot-L2wyN0eQTHYeJVN0kg-7erKMWbtWwxf3+uHwYwLmUu7tQ@mail.gmail.com>
To: Bron Gondwana <brong@fastmailteam.com>
Cc: Hannes Tschofenig <Hannes.Tschofenig@arm.com>, "oauth@ietf.org" <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ab5fcc05bc00b176"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/Ccz8fbXWUuE_KAEEA7f-V0mT4BM>
Subject: Re: [OAUTH-WG] JMAP's experience with proposing an Authentication model
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Feb 2021 13:15:03 -0000
Hey Bron, (caveat: I only skimmed the other conversation) I'm trying to figure out how best to digest your message. I feel like I'm missing context in your message, is there something about JMAP required authentication that you're asking to be considered in OAuth. Help me figure out what I'm missing. - Warren Warren Parad Founder, CTO Secure your user data with IAM authorization as a service. Implement Authress <https://authress.io/>. On Tue, Feb 23, 2021 at 2:03 PM Bron Gondwana <brong@fastmailteam.com> wrote: > (bringing this back to just the OAuth list) > > On Tue, Feb 23, 2021, at 23:46, Hannes Tschofenig wrote: > > I don’t know whether it is already too late for your document (which is > dated 2016) to consider the use of OAuth but Rifaat and I are happy to put > you on the spot in one of our future virtual office hours or virtual > interim meetings. > > > It's never "too late" - we could add a "how to Authenticate JMAP using > OAuth" document easily enough. > > That specific document which I mentioned went through many revisions and a > split to eventually become RFC8620 and RFC8621. The core JMAP spec says > this about Authentication: > > 8.2 <https://tools.ietf.org/html/rfc8620#section-8.2>. Authentication Scheme > > > A number of HTTP authentication schemes have been standardised (see > <https://www.iana.org/assignments/http-authschemes/>). Servers > should take care to assess the security characteristics of different > schemes in relation to their needs when deciding what to implement. > > Use of the Basic authentication scheme is NOT RECOMMENDED. Services > that choose to use it are strongly recommended to require generation > of a unique "app password" via some external mechanism for each > client they wish to connect. This allows connections from different > devices to be differentiated by the server and access to be > individually revoked. > > > What it doesn't have is something like what existed in the first draft, > which allowed out-of-band authentication in many ways, and *probably did > require security review - but security review from people who wanted it to > succeed rather than from people who wanted it to go away because it wasn't > OAuth*. At the time, that didn't sound like something achievable. We > were told that any authentication proposal would have to get past the OAuth > working group, who would shoot it down or stagnate it for years. Maybe > that was wrong, but it was the impression we got from multiple people in > multiple conversations, both in our working group and in the hallway track. > > The original authentication protocol started with a username and a > service, and got back a session token plus list of authentication methods > that were allowed, or even a "we already authenticated you out of band - go > right ahead". > > The methods included password or password plus second factor, but also > allowed for things like "here's a URL, go sign in there and when you're > finished your session will be valid" or "a popup has been shown in your > existing sessions on other clients, confirm this code and click OK". > > The important thing was that there was no requirement that there be any > web context built into the client - it could happily just sit there waiting > for a push event down the push channel to tell it that the session had been > authorised, or poll to see if it was allowed access yet. The > authentication could be entirely out of band after the initial handshake. > > It's a quite different model than OAuth2. It's probably closer to GNAP, > which is why I've been watching that with interest, though not with enough > time to engage closely. > > Cheers, > > Bron. > > -- > Bron Gondwana, CEO, Fastmail Pty Ltd > brong@fastmailteam.com > > > _______________________________________________ > OAuth mailing list > OAuth@ietf.org > https://www.ietf.org/mailman/listinfo/oauth >
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Hannes Tschofenig
- Re: [OAUTH-WG] We appear to still be litigating O… Phillip Hunt
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Bron Gondwana
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Rifaat Shekh-Yusef
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Bron Gondwana
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Roman Danyliw
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Kathleen Moriarty
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Mark Nottingham
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Rifaat Shekh-Yusef
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Eric Rescorla
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Phillip Hallam-Baker
- [OAUTH-WG] Building Real Internet Platforms Mark Nottingham
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Larry Masinter
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Jim Manico
- [OAUTH-WG] We appear to still be litigating OAuth… Bron Gondwana
- Re: [OAUTH-WG] We appear to still be litigating O… Warren Parad
- Re: [OAUTH-WG] We appear to still be litigating O… Carsten Bormann
- Re: [OAUTH-WG] We appear to still be litigating O… Warren Parad
- Re: [OAUTH-WG] We appear to still be litigating O… Bron Gondwana
- Re: [OAUTH-WG] We appear to still be litigating O… Warren Parad
- Re: [OAUTH-WG] We appear to still be litigating O… Bron Gondwana
- Re: [OAUTH-WG] We appear to still be litigating O… Justin Richer
- Re: [OAUTH-WG] We appear to still be litigating O… Tim Bray
- Re: [OAUTH-WG] We appear to still be litigating O… Warren Parad
- Re: [OAUTH-WG] We appear to still be litigating O… Michael Richardson
- Re: [OAUTH-WG] We appear to still be litigating O… Bron Gondwana
- Re: [OAUTH-WG] We appear to still be litigating O… Seán Kelleher
- Re: [OAUTH-WG] We appear to still be litigating O… Seán Kelleher
- Re: [OAUTH-WG] We appear to still be litigating O… Evert Pot
- Re: [OAUTH-WG] We appear to still be litigating O… Justin Richer
- Re: [OAUTH-WG] We appear to still be litigating O… Justin Richer
- Re: [OAUTH-WG] We appear to still be litigating O… Warren Parad
- Re: [OAUTH-WG] We appear to still be litigating O… Aaron Parecki
- Re: [OAUTH-WG] We appear to still be litigating O… David Waite
- Re: [OAUTH-WG] We appear to still be litigating O… Aaron Parecki
- Re: [OAUTH-WG] We appear to still be litigating O… Jeff Craig
- Re: [OAUTH-WG] We appear to still be litigating O… Vittorio Bertola
- Re: [OAUTH-WG] We appear to still be litigating O… Tim Bray
- Re: [OAUTH-WG] We appear to still be litigating O… Christian Huitema
- Re: [OAUTH-WG] We appear to still be litigating O… Phillip Hallam-Baker
- Re: [OAUTH-WG] We appear to still be litigating O… Evert Pot
- Re: [OAUTH-WG] We appear to still be litigating O… Bron Gondwana
- Re: [OAUTH-WG] We appear to still be litigating O… ST GERMAIN
- Re: [OAUTH-WG] We appear to still be litigating O… Neil Madden
- Re: [OAUTH-WG] We appear to still be litigating O… Aaron Parecki
- Re: [OAUTH-WG] We appear to still be litigating O… Jim Willeke
- Re: [OAUTH-WG] We appear to still be litigating O… Aaron Parecki
- Re: [OAUTH-WG] We appear to still be litigating O… Jim Willeke
- [OAUTH-WG] How to tell people... Was: We appear t… Phillip Hallam-Baker
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Hannes Tschofenig
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Warren Parad
- Re: [OAUTH-WG] Diversity and Inclusiveness in the… Hannes Tschofenig
- [OAUTH-WG] JMAP's experience with proposing an Au… Bron Gondwana
- Re: [OAUTH-WG] JMAP's experience with proposing a… Warren Parad
- Re: [OAUTH-WG] JMAP's experience with proposing a… Bron Gondwana
- Re: [OAUTH-WG] JMAP's experience with proposing a… Warren Parad
- Re: [OAUTH-WG] JMAP's experience with proposing a… Brian Campbell
- Re: [OAUTH-WG] JMAP's experience with proposing a… Phil Hunt
- Re: [OAUTH-WG] JMAP's experience with proposing a… Bron Gondwana
- Re: [OAUTH-WG] JMAP's experience with proposing a… Evert Pot
- Re: [OAUTH-WG] JMAP's experience with proposing a… Warren Parad