Re: [OAUTH-WG] draft-parecki-oauth-browser-based-apps and response_type/fragment

"Brock Allen" <brockallen@gmail.com> Sat, 08 December 2018 18:33 UTC

Return-Path: <brockallen@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 78075130E5F for <oauth@ietfa.amsl.com>; Sat, 8 Dec 2018 10:33:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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, URIBL_BLOCKED=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 Uf_0RTvVij0D for <oauth@ietfa.amsl.com>; Sat, 8 Dec 2018 10:33:46 -0800 (PST)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) (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 5D7D4130E4D for <oauth@ietf.org>; Sat, 8 Dec 2018 10:33:46 -0800 (PST)
Received: by mail-qt1-x829.google.com with SMTP id n32so8142057qte.11 for <oauth@ietf.org>; Sat, 08 Dec 2018 10:33:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:date:message-id:subject:from:to:cc:in-reply-to :references:user-agent; bh=C2/ylAwjpVXESskCwSz9pfMKH7NprXlCDpxZS86G9u0=; b=CWeAF3s9FuHH19ZPcHaB42kCEwBQV9d99qwzPujBmfN/8tF4qX2rXi4srbCvo85kv/ tG0cxaextTu9v/Y++T+vtkSfeCjnpL2iiXBJrp74zGcEdI0SDQuFhY56CpKJWCiZsaLw oM6SQm1cQhC3BwpVv4kSViomWCJ6Hxvu8VWuoGQ2zYqyA5cl3PKrsWH7crK5yOz4QnJ1 Qmo2Oe2pgwdDioIlHkhkQOPLRqGFoDo9/U8Ry5JipdJuzHxeDNlwb/ekhlHV5e60Zp81 VbNSaT851GU1HGyhOAxHBRS94SJgGIr5DgfhumCYiKZ9LkPtgA14TqK3IzSN6n2cOePR sp0g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :in-reply-to:references:user-agent; bh=C2/ylAwjpVXESskCwSz9pfMKH7NprXlCDpxZS86G9u0=; b=WLHDSmQKKee9gxVIu76l3oHcZXrmPhREmf8Jhc8452exB9Ss2OWZ5x16Ed0q/JnB2H 80HHm6KvRyja9xzek6iZgRPSsjusNjfX1n9RN06VVfAMwxI0lAo5FZzf0zXONpAIt6+G y0nYPM/YkpBkI4qCi5yuF9jj1idRP+9tr73gK0G9FNaDaQr0tsn1BvlRAdghW0gPjAMl hHcY3ujDyboEn3+ttvf2Mlf7dYi+veOJn972meViqZTbiXyWZMphIJc9NW7dT7JKQqtN 3bSPx72hf2ribaY0e5MiFJCVDpHoISeCXem9mglLGiMJ/7q7lXYExwBp3VxNAAGq7ymN OYvQ==
X-Gm-Message-State: AA+aEWaBMsZiiChp91/rIEX/n113jvGYInIpBg4STHNPLrxlK3kDfiXk qaJu9ozMg+m9qEYc1FdTYDIF9HXX
X-Google-Smtp-Source: AFSGD/WovxDN6HZCROWa9l2E6mXF6QAE9OKC6wQfJwRYdP9Uaz+F/pRduCbdiFFth1o2CL9FoMOHPw==
X-Received: by 2002:a0c:e84f:: with SMTP id l15mr6088381qvo.124.1544294025495; Sat, 08 Dec 2018 10:33:45 -0800 (PST)
Received: from [10.0.1.3] (pool-96-253-25-169.prvdri.fios.verizon.net. [96.253.25.169]) by smtp.gmail.com with ESMTPSA id u16sm5253781qkg.14.2018.12.08.10.33.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Dec 2018 10:33:45 -0800 (PST)
Content-Type: multipart/alternative; boundary="----=_NextPart_38525236.797379696134"
MIME-Version: 1.0
Date: Sat, 08 Dec 2018 13:33:42 -0500
Message-ID: <c33d0aef-bc34-4daa-8bc9-8252780f4e69@getmailbird.com>
From: Brock Allen <brockallen@gmail.com>
To: Aaron Parecki <aaron@parecki.com>
Cc: oauth@ietf.org
In-Reply-To: <CAGBSGjrj95i97mVDJq7jDA0DsLH-NasiH+E0nqc+6XjL-mnt4Q@mail.gmail.com>
References: <6d88c55a-a300-47ff-af77-8fdb7dcfbc25@getmailbird.com> <CAGBSGjrj95i97mVDJq7jDA0DsLH-NasiH+E0nqc+6XjL-mnt4Q@mail.gmail.com>
User-Agent: Mailbird/2.5.24.0
X-Mailbird-ID: c33d0aef-bc34-4daa-8bc9-8252780f4e69@getmailbird.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/NM0yP6503-dNdpbfVg4Hs4lHaoE>
Subject: Re: [OAUTH-WG] draft-parecki-oauth-browser-based-apps and response_type/fragment
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: Sat, 08 Dec 2018 18:33:49 -0000

For the same reason the implicit flow uses it -- to reduce exposure of the response params. I know the code is protected with the code_verifier, but it wouldn't hurt to reduce its exposure, no?

-Brock

On 12/8/2018 1:23:41 PM, Aaron Parecki <aaron@parecki.com> wrote:
What would be the benefit of using this response type? Are you aware of any OAuth (not OIDC) clients that do this today?

- Aaron


On Sat, Dec 8, 2018 at 7:29 AM Brock Allen <brockallen@gmail.com [mailto:brockallen@gmail.com]> wrote:

Should the BCP suggest using OIDC's response_type=fragment as the mechanism for returning the code from the AS? Or simply suggest using the fragment component of the redirect_uri for the code, without a response_type parameter (IOW don't allow it to be dynamic)?


-Brock

_______________________________________________
OAuth mailing list
OAuth@ietf.org [mailto:OAuth@ietf.org]
https://www.ietf.org/mailman/listinfo/oauth [https://www.ietf.org/mailman/listinfo/oauth]