Re: [OAUTH-WG] third party applications

Jeff Craig <jeffcraig@google.com> Fri, 28 August 2020 16:24 UTC

Return-Path: <jeffcraig@google.com>
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 974563A0DCB for <oauth@ietfa.amsl.com>; Fri, 28 Aug 2020 09:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.599
X-Spam-Level:
X-Spam-Status: No, score=-17.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 XVrhZ00R5uzO for <oauth@ietfa.amsl.com>; Fri, 28 Aug 2020 09:24:30 -0700 (PDT)
Received: from mail-yb1-xb44.google.com (mail-yb1-xb44.google.com [IPv6:2607:f8b0:4864:20::b44]) (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 5D2A93A0DCA for <oauth@ietf.org>; Fri, 28 Aug 2020 09:24:30 -0700 (PDT)
Received: by mail-yb1-xb44.google.com with SMTP id u6so876476ybf.1 for <oauth@ietf.org>; Fri, 28 Aug 2020 09:24:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MUlpJLgM+3t5CR6NOW6pL0yrahfaCLOT2oy4B37UjSw=; b=DpLRCXXQv288pePZMqF17d4iKTipLQtijaXMrS4nrRJxNDxMFeld8kBVDKhgzUwUri tauPxaIEvhoHZYSsE//rDgRn2q7m7789MZvWZS98NIuTg8aSDQi5valIBn8wIkhlMU6d 59z717CnjlQOchluG7vgnfBAI2WLa25nZcPykcz07U9qzB2TNS9QlsVnmiqy3ihVg11x a6InTbt21BPXkgQ6iAuoT6ALIqCLbmiYr+rSD3ofPcZSKSMBpOUce3n8SeCQbZJef8Gk UhLNjI91DrvuhfZGW8S6IzZBbJOBv4mpKMVXMjWT2rtYxiVbbBn6hSlTe+gDuYXE+Wav 8wRA==
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=MUlpJLgM+3t5CR6NOW6pL0yrahfaCLOT2oy4B37UjSw=; b=HGmMT/uVxl/9xjXahJ8GzAuwjkF68Dr8nEROgh3BDkrIOGFYD3vMFjWAsYIPYVJO6g ScwmjvUMhF4Epv4+gjopysCWl8SMBIJnRoRWphDXskUo6G5WA2FezRP0c2sh2wgkJzWk asy7NIbU8aIx8Z6+RiivWJN1wATuJx0yqyJ8sN1emc32dI5oRibaz/S0zsNDssJZn2Va LVVtCQZ6zXJjLhalnYiSYaxeMB4QmPoSRGwI/hdwpO8/pWeX7DJEc5Yfx/fdqUsF4Bct SIRLBJ3OHXBoTwKlrTybz6VgPB0viQW/YtehccEGueAipa2ztboo0HdWMkQbLfGY2Xuv UNxw==
X-Gm-Message-State: AOAM532k3kvLm5cbMfrWP/sJG6xaP7aDSQ0bBoJwpKd9k9fZKod6mgJl hJReylSF9Ha4dqys83Yz7V017ruUa6/j1PAJo0I2aJg6fqc=
X-Google-Smtp-Source: ABdhPJzPzjV2rG4OLHYxLrhADm2VCTbppPWQezVS9NmKIdQpNjMB712khTuyacpjg3737R2Kd4HpJHmOPxmKCHYdifI=
X-Received: by 2002:a25:a441:: with SMTP id f59mr3478768ybi.42.1598631869287; Fri, 28 Aug 2020 09:24:29 -0700 (PDT)
MIME-Version: 1.0
References: <CC3CDA85-7060-46FA-9C54-BE5E43CC2467@lodderstedt.net> <8507D885-1006-4BAC-8365-93FC93C91437@manicode.com>
In-Reply-To: <8507D885-1006-4BAC-8365-93FC93C91437@manicode.com>
From: Jeff Craig <jeffcraig@google.com>
Date: Fri, 28 Aug 2020 11:24:18 -0500
Message-ID: <CAKhDPzNzPi3Uo5S+tK1R6Qn20anUhvvZr1_koCwp1OoF=CycEQ@mail.gmail.com>
To: Jim Manico <jim@manicode.com>
Cc: Torsten Lodderstedt <torsten=40lodderstedt.net@dmarc.ietf.org>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000b2869f05adf27c12"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/iHjtLxjEMI9jcHtUIZCEoCRJK8Y>
Subject: Re: [OAUTH-WG] third party applications
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: Fri, 28 Aug 2020 16:24:33 -0000

OAuth may be overkill for most single-party cases, but there is nothing
about the protocol that precludes the use case. A similar argument could be
made that including the third-party language steers implementers who
perhaps would benefit from OAuth away from the specification, making both
positions low-value arguments. It could make sense to provide a section
discussing this single-party vs third-party issue elsewhere in the document
(or perhaps in a BCP covering application authentication and authorization
that discusses OAuth, but also other options), but I think the Abstract of
this document does not benefit from over classifying the application.

On Fri, Aug 28, 2020 at 11:00 AM Jim Manico <jim@manicode.com> wrote:

> It does not make sense to use OAuth in most single party situations. These
> single-party OAuth use cases are frequently a complete misuse of the
> framework. I +1 the language “3rd party” in an effort to steer implementors
> in the right direction.
>
> --
> Jim Manico
> @Manicode
>
>
> > On Aug 28, 2020, at 5:07 AM, Torsten Lodderstedt <torsten=
> 40lodderstedt.net@dmarc.ietf.org> wrote:
> >
> > 
> >> On 28. Aug 2020, at 16:56, Dick Hardt <dick.hardt@gmail.com> wrote:
> >>
> >> Well, OAuth is not very useful in a monolithic application. No need for
> an interoperable protocol for that kind of application.
> >
> > I don’t know why we need to make any assumptions about the application
> that uses OAuth. A lot of assumptions might turn out to be wrong. So if me
> make assumptions they must be relevant for the protocol design.
> >
> > So again, why is “independent” or “third-party” relevant for the
> protocol design?
> >
> >>
> >> And in separating functions, you are creating separate trust domains.
> Yes, it is still all internal, but it enables a separation of concerns.
> >> ᐧ
> >>
> >> On Fri, Aug 28, 2020 at 7:49 AM Torsten Lodderstedt <
> torsten@lodderstedt.net> wrote:
> >> In my experience OAuth is used in 1st party scenarios as means to
> separate functions (e.g. central user management vs. different products)
> within the same trust domain thus enabling architectural flexibility.
> >>
> >> I would just remove any constraint on the kind of applications OAuth
> can be used for. I don’t see how this governs the protocol design.
> >>
> >>>> On 28. Aug 2020, at 15:29, Dick Hardt <dick.hardt@gmail.com> wrote:
> >>>
> >>> The driver in my opinion for first-party use of OAuth is to separate
> the trust domains so that the application is scoped in what it can do vs an
> application that has full access to all resources. I agree that third-party
> can indicate that internal use does not apply. How about the following?
> >>>
> >>>   The OAuth 2.1 authorization framework enables an independent
> >>>   application to obtain limited access to an HTTP service, either on
> >>>   behalf of a resource owner by orchestrating an approval interaction
> >>>   between the resource owner and the HTTP service, or by allowing the
> >>>   application to obtain access on its own behalf.  This
> >>>   specification replaces and obsoletes the OAuth 2.0 Authorization
> >>>   Framework described in RFC 6749.
> >>> ᐧ
> >>>
> >>>> On Fri, Aug 28, 2020 at 3:02 AM Torsten Lodderstedt <torsten=
> 40lodderstedt.net@dmarc.ietf.org> wrote:
> >>> I agree. OAuth works for 3rd as well as 1st parties as well.
> >>>
> >>>> On 28. Aug 2020, at 05:26, Dima Postnikov <dima@postnikov.net> wrote:
> >>>>
> >>>> Hi,
> >>>>
> >>>> Can "third-party" term be removed from the specification?
> >>>>
> >>>> The standard and associated best practices apply to other
> applications that act on behalf of a resource owner, too (internal,
> "first-party" and etc).
> >>>>
> >>>> Regards,
> >>>>
> >>>> Dima
> >>>>
> >>>> The OAuth 2.1 authorization framework enables a third-party
> >>>>
> >>>>   application to obtain limited access to an HTTP service, either on
> >>>>   behalf of a resource owner by orchestrating an approval interaction
> >>>>   between the resource owner and the HTTP service, or by allowing the
> >>>>   third-party application to obtain access on its own behalf.  This
> >>>>   specification replaces and obsoletes the OAuth 2.0 Authorization
> >>>>   Framework described in
> >>>> RFC 6749.
> >>>> _______________________________________________
> >>>> OAuth mailing list
> >>>> OAuth@ietf.org
> >>>> https://www.ietf.org/mailman/listinfo/oauth
> >>>
> >>> _______________________________________________
> >>> OAuth mailing list
> >>> OAuth@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/oauth
> >>
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>