Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-reciprocal-00.txt
Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> Tue, 17 July 2018 18:57 UTC
Return-Path: <rifaat.ietf@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 CC8C5130F24 for <oauth@ietfa.amsl.com>; Tue, 17 Jul 2018 11:57:01 -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 msm2_47VrgV9 for <oauth@ietfa.amsl.com>; Tue, 17 Jul 2018 11:56:58 -0700 (PDT)
Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (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 6EECB130DF3 for <oauth@ietf.org>; Tue, 17 Jul 2018 11:56:58 -0700 (PDT)
Received: by mail-io0-x233.google.com with SMTP id l7-v6so1916926ioj.1 for <oauth@ietf.org>; Tue, 17 Jul 2018 11:56:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O7vN6B2p+JlpN+dNbBRRZuzTAodHzT7jXoSuwOFOR+M=; b=aLMicLRtjU3lpwi68X3XBFmEhCpyO+RJ3tgetqh+ltAJM2aUqftduwYPFgn9N1C7jD 8RFswtjXxmNTt3RzRUiAKb2fp4EQrEoGO2bLqfYrP0xhoC9ZT6lFufMlzP8lLz8smzFz ISSRLUK+hq0O+NgXtLjfGOiLKmoZwKrdV1M+2E9fB6tXb2mYo/XO4L/MGT8dKS30gAJw JDseYwsY9ouKp/jl8hTZPhSIlnTv1zUy7U0p8S5Y81BFJ7BdQCoxX5Y4NfRM9xOx6U96 hbobMh84pz0nEebCVF9g91MGKYEuupP6mLnilsnGEG5j9pOp0+2F1z1ekhYEPPUx8qWT XN+g==
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=O7vN6B2p+JlpN+dNbBRRZuzTAodHzT7jXoSuwOFOR+M=; b=PyThNIxdbpq7MQr1yt2JzYvFIJT0zVhjo6/n7uVx834CIMfnVhh1EQKROUOVqdGH+t 3ItXfqtceqVQebY0yHptZlwgFcgUBXysJieY8WVClfvAkRF/3NihMrBpVtKUZ7y5mlK2 0YPAXWixXyTFcHMTHYIhyynBmjFjUV4AYhhJFQFj3N5PUF69yuAVswOErr6QY9/NM7fd f69YXbqzYHR77RnbKkUqluSodZW9ytFG2C69+jGDszo4sTBM1SgOoYfHT7tGEVzzCnsb /tt73ffOcjoQ1xSwHFWL5icSZS+VhpZjKj+h3uwlnzfmZZW/Gk+W0VYi/X+FU1zf7B7Y qDhw==
X-Gm-Message-State: AOUpUlGK0t/sI7NiO3dgBZXY1rzPPay2qZKEvgIplIwRC71K0BtnU9+J NQVQBiZivt5ZJpHJW8CK3ta3EZvWDIcmSzEpR0O2deq6
X-Google-Smtp-Source: AA+uWPzJF7IFRCtK/yGNCuZv+6HF7b2NbtCcu9k2LErBK1tN2cXoMLenlpZwFOF6OXHTn91N2i5ZPYYCsoOK/hkq+eI=
X-Received: by 2002:a6b:410a:: with SMTP id n10-v6mr2654838ioa.0.1531853817834; Tue, 17 Jul 2018 11:56:57 -0700 (PDT)
MIME-Version: 1.0
References: <152719369843.5001.6781345939306593672@ietfa.amsl.com> <52D0886F-C7B3-4F98-B1CE-70E8406656D5@lodderstedt.net> <CAD9ie-vZ8TcjUUZLzTnanXy_xNFhpRE=a-McPxyPdv=R+JUg3A@mail.gmail.com>
In-Reply-To: <CAD9ie-vZ8TcjUUZLzTnanXy_xNFhpRE=a-McPxyPdv=R+JUg3A@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Date: Tue, 17 Jul 2018 14:56:46 -0400
Message-ID: <CAGL6epK1bV_qCSkpCe1pHTpsSxp5_F_2zLqv-AKHNozxTXBvtQ@mail.gmail.com>
To: Dick Hardt <dick.hardt@gmail.com>
Cc: Torsten Lodderstedt <torsten@lodderstedt.net>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a8f1af05713682ae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/HjeRTN_LMYRPo2w-8Rk3TXKUSSU>
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 18:57:07 -0000
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 >
- [OAUTH-WG] I-D Action: draft-ietf-oauth-reciproca… internet-drafts
- Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-recip… Torsten Lodderstedt
- Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-recip… Dick Hardt
- Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-recip… Rifaat Shekh-Yusef
- Re: [OAUTH-WG] I-D Action: draft-ietf-oauth-recip… Dick Hardt