Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-reciprocal-00.txt

Dick Hardt <dick.hardt@gmail.com> Tue, 17 July 2018 19:14 UTC

Return-Path: <dick.hardt@gmail.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 38B91130E08 for <oauth@ietfa.amsl.com>; Tue, 17 Jul 2018 12:14:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 DIEgB3cTucc8 for <oauth@ietfa.amsl.com>; Tue, 17 Jul 2018 12:14:49 -0700 (PDT)
Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) (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 F2F5E130DF3 for <oauth@ietf.org>; Tue, 17 Jul 2018 12:14:48 -0700 (PDT)
Received: by mail-pg1-x52c.google.com with SMTP id p23-v6so844461pgv.13 for <oauth@ietf.org>; Tue, 17 Jul 2018 12:14:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5pz4bB5pLh8VN7Jeeb51DNtl33MLnJAE7AUw+d3qi7g=; b=U/ou3X8Ia42btXkAcQO8Lfm77wt3maap4FbhGnpURJSp1wUYDwGhbJN2t3VmDME8PQ 2jQ2sYjfyAl0w04kLW/LhwEpuN0jRzsfoaPYeGd/wolmtl14JvoYO9RO8Nau9xd5Lvh1 pzVfocx1zK0LnyaeGDLGjD+uWYYQb24Pc5zJadhqewj26npO21E0rD6TFgpUhrF+o9mR /z8t+a3XMch3LppsSSSQbnSf48HztdBPoROUjXDMYJVS2AELPNjXrG7pZOPVy4Qry0a5 6MjEv1Rzsf/AMelSkDqJKOC3QZrTDgVguqM93wdKfyStLN4uqLgoI2XSsAPHmX0/RFb8 qGlw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5pz4bB5pLh8VN7Jeeb51DNtl33MLnJAE7AUw+d3qi7g=; b=p5h+CirzEEqAqw2AGKJyEBiuphI6EffD15p6dQEjNoMdf0F8nBA6s98m6SaVOEYqFk ntymOusBZ7IJWGvP7Btl8B29BeqRRAvgWSbca92xzbfvdrsM4oa0aScEP14t2Z86JSMO /wj+RsA3BaQhZntprJnxfKQFrSZdJXo3Cgw+xRF99xEOxSo/JA00vl2fvnMC3kqCXlyT J5CCmoH2vRrxeRJzezhEn/eMqfk3bUo9KqmUoesaaFYN3sR+sdZjb8C8u8v4bHAoZEpU O4pNAAegwlv1L5UxNFkq/4Q95tsyP4EtODfMOHdRrbJx4V8YePYhJv+fcVKNABXHihP3 CzjA==
X-Gm-Message-State: AOUpUlEulDZsAhNczo9nMuoJVMGDCbWeVumAwGChuxw4UJ1E2mBlOEli cyB9x62T8pI4cMaHfFxiry8B5ZAYOZmIfwG2eBQ=
X-Google-Smtp-Source: AAOMgpcpTxIeYAeUPgjohFMyjqsY6ClQGjj1e6XJEhNKKEuYRm02whGHs2nZ6/qHKK0NUM4nwhFgRG18bRoKcVj5iH8=
X-Received: by 2002:a65:62ce:: with SMTP id m14-v6mr2758165pgv.407.1531854888444; Tue, 17 Jul 2018 12:14:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a17:90a:9ce:0:0:0:0 with HTTP; Tue, 17 Jul 2018 12:14:27 -0700 (PDT)
In-Reply-To: <CAGL6epK1bV_qCSkpCe1pHTpsSxp5_F_2zLqv-AKHNozxTXBvtQ@mail.gmail.com>
References: <152719369843.5001.6781345939306593672@ietfa.amsl.com> <52D0886F-C7B3-4F98-B1CE-70E8406656D5@lodderstedt.net> <CAD9ie-vZ8TcjUUZLzTnanXy_xNFhpRE=a-McPxyPdv=R+JUg3A@mail.gmail.com> <CAGL6epK1bV_qCSkpCe1pHTpsSxp5_F_2zLqv-AKHNozxTXBvtQ@mail.gmail.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Tue, 17 Jul 2018 15:14:27 -0400
Message-ID: <CAD9ie-u7sgJV5Wz9NSEUNHBo472k8zyQXMyPKVeCmtPui8znQA@mail.gmail.com>
To: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Cc: Torsten Lodderstedt <torsten@lodderstedt.net>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000792863057136c2f1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/PqZo8tPrG37UtyH2e_wLlKcpZlg>
Subject: Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-reciprocal-00.txt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.27
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, 17 Jul 2018 19:14:52 -0000

Thanks for the feedback!

I'll break out my ASCII art skills.

On Tue, Jul 17, 2018 at 2:56 PM, Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
wrote:

> Hi Dick,
>
> I too reviewed the document, and had similar questions in mind.
> I agree with Torsten, a figure would make it easier to follow and
> understand.
>
> Regards,
>  Rifaat
>
>
> On Tue, Jul 17, 2018 at 12:01 PM Dick Hardt <dick.hardt@gmail.com> wrote:
>
>> Thanks for the review Torsten. All good points to be clarified in the
>> doc. Responses inserted ...
>>
>> On Tue, Jul 17, 2018 at 11:22 AM, Torsten Lodderstedt <
>> torsten@lodderstedt.net> wrote:
>>
>>> Hi Dick,
>>>
>>> I gave you draft a read and came up with the following questions:
>>>
>>> Section 2: How does Party A know it is supposed to conduct a reciprocal
>>> OAuth flow if Party B does not indicate so in the authorization response?
>>>
>>
>> Out of band configuration. Will clarify in next version.
>>
>>
>>>
>>> Section 3
>>>
>>> Party A is supposed to call the token endpoint of Party B using an
>>> authorization code generated by Party A. How does Party B interpret this
>>> code? Or does it just send this code back to Party A to obtain its access
>>> token for A?
>>>
>>
>> Yes, per last sentence in Section 3. What language would clarify that?
>>
>>
>>>
>>> Party B uses the access token issued to Party A in the first part of the
>>> flow (ordinary OAuth code flow) to identify the respective user account
>>> with Party B. Since the AS consumes its access token as an RS, does Party A
>>> need to include a certain scope in the code flow request in order to enable
>>> this part of the flow?
>>>
>>
>> Party A is using its own access token for context. Party B is not
>> accessing the user context / account.
>>
>>
>>>
>>> How is the AS of Party B supposed to determine the token endpoint of
>>> Party A’s AS?
>>>
>>
>> Same as Party A learns Party B's token endpoint.
>>
>> In practice, the flow could be started by either party. Both can initiate
>> and complete. I'll clarify in the next version.
>>
>>
>>>
>>> I think a figure of the overall process would help to understand the
>>> concept.
>>>
>>
>> It is pretty much the same as OAuth with one extra flow. I can add if
>> that would help.
>>
>>
>>>
>>> kind regards,
>>> Torsten.
>>>
>>> > Am 24.05.2018 um 22:28 schrieb internet-drafts@ietf.org:
>>> >
>>> >
>>> > A New Internet-Draft is available from the on-line Internet-Drafts
>>> directories.
>>> > This draft is a work item of the Web Authorization Protocol WG of the
>>> IETF.
>>> >
>>> >        Title           : Reciprocal OAuth
>>> >        Author          : Dick Hardt
>>> >       Filename        : draft-ietf-oauth-reciprocal-00.txt
>>> >       Pages           : 4
>>> >       Date            : 2018-05-24
>>> >
>>> > Abstract:
>>> >   There are times when a user has a pair of protected resources that
>>> >   would like to request access to each other.  While OAuth flows
>>> >   typically enable the user to grant a client access to a protected
>>> >   resource, granting the inverse access requires an additional flow.
>>> >   Reciprocal OAuth enables a more seamless experience for the user to
>>> >   grant access to a pair of protected resources.
>>> >
>>> >
>>> > The IETF datatracker status page for this draft is:
>>> > https://datatracker.ietf.org/doc/draft-ietf-oauth-reciprocal/
>>> >
>>> > There are also htmlized versions available at:
>>> > https://tools.ietf.org/html/draft-ietf-oauth-reciprocal-00
>>> > https://datatracker.ietf.org/doc/html/draft-ietf-oauth-reciprocal-00
>>> >
>>> >
>>> > Please note that it may take a couple of minutes from the time of
>>> submission
>>> > until the htmlized version and diff are available at tools.ietf.org.
>>> >
>>> > Internet-Drafts are also available by anonymous FTP at:
>>> > ftp://ftp.ietf.org/internet-drafts/
>>> >
>>> > _______________________________________________
>>> > 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
>>
>