Re: [OAUTH-WG] OAUTB for Access Token in Implicit Grant

Brian Campbell <bcampbell@pingidentity.com> Mon, 14 May 2018 22:23 UTC

Return-Path: <bcampbell@pingidentity.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 C87BE12E8D9 for <oauth@ietfa.amsl.com>; Mon, 14 May 2018 15:23:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pingidentity.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 ba5rgffaZBQL for <oauth@ietfa.amsl.com>; Mon, 14 May 2018 15:23:26 -0700 (PDT)
Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 4C29112E8D8 for <oauth@ietf.org>; Mon, 14 May 2018 15:23:26 -0700 (PDT)
Received: by mail-it0-x22f.google.com with SMTP id q72-v6so15142577itc.0 for <oauth@ietf.org>; Mon, 14 May 2018 15:23:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pingidentity.com; s=gmail; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zmzeeYFy2Ow0rs/R9vpqNZTPhXDfwEHSZwvm0EVAY8A=; b=jWRiM02wif/CDGBJ59T/PC2wLtQ/IX574TSQRK/CzPGXpkrAMEdELqv33NXsgkhelY D3Edmci9gE2NhOj+CpBpa3gd3rt+WBugXPoEXAdTru17Exl+bnbf8kpZ3y6Q/XMb6nS9 vncFMbY2vluksQiFU/Yu1dxzYGylNmycKbb6Y=
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=zmzeeYFy2Ow0rs/R9vpqNZTPhXDfwEHSZwvm0EVAY8A=; b=adspO1xwGmlAk/ntQdjuGpWrcaxqQ/szn+eh2yYRbOq6VAwuJafdBYpOCJ/+HANBSB TySo+6TM0kMjZ3BCBed1+SILvFcG3iPor8h+a8OP8GxTiCLA3jFhjtJZTm6NOayQd4G6 I2OOUSSvaAg94y78X07zuHIQ4mYVDTWmi1SJ4vWFdUWVHkyUhX1djShNp4jVzgoiDqP4 xC6jxzsqGaNhUkOL0UVMP1SiGEjzSZ099KIxj9wX0wTx5SQyJawMm976oHqx8torKuH1 6W3DwePpdE3ZlxzkDNGmXyWmevoeDgHHU8vHhPiaWRH5fmdx5wuL1YqSQ1TkvAFyhw0X iT7w==
X-Gm-Message-State: ALKqPwcBsaiDiVwz2SR2vIYRwdKgSCN43RKFa9jU3JD7WDHsGoD/P4uN +2JBigRhxEnDCWNeMQcLF9H3FpKqCONK98kROPAOlRnkPcxPAoYyiIcdvCF/UEZ5okpqC80Yoqq 1zCiWUx7owywnEw==
X-Google-Smtp-Source: AB8JxZpXvw7gMOib3EBo5wmg3xuvVAXFk1Hr3u66ifC4PnpZOZdTkkBVXPqK0PUh5w4SQi+mdxMX3Ud/MgWpzde1dvs=
X-Received: by 2002:a6b:8361:: with SMTP id f94-v6mr11863385iod.17.1526336605400; Mon, 14 May 2018 15:23:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a02:144a:0:0:0:0:0 with HTTP; Mon, 14 May 2018 15:22:54 -0700 (PDT)
In-Reply-To: <df0f8268-13a8-90d7-fc40-32e5b7371cc9@gmx.de>
References: <df0f8268-13a8-90d7-fc40-32e5b7371cc9@gmx.de>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Mon, 14 May 2018 16:22:54 -0600
Message-ID: <CA+k3eCRT-Paqq5_jLFNpH9n6Se6K+dOcvD+o2-99zBAcPHedmg@mail.gmail.com>
To: pedram.h@gmx.de
Cc: oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002c45ee056c31ef0e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/FkljlXdlANaPqPygLYLjKUwVPgo>
Subject: Re: [OAUTH-WG] OAUTB for Access Token in Implicit Grant
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 14 May 2018 22:23:29 -0000

Typically when an access token is issued via the implicit grant directly
from the authorization endpoint, it is for a client that is running as
script in the user-agent. The AS binds the access token to the referred
token binding, which would be the token binding between the user-agent
(where the client is) and the protected resource.

It does mean that a hybrid style client couldn't pass the access token from
its script front-end in the user-agent to its server backed (well, it could
pass it but the server side couldn't use it because of the binding).

On Mon, May 14, 2018 at 6:46 AM, <pedram.h@gmx.de> wrote:

> Dear all,
>
> We are currently modeling part 1 and part 2 of the OpenID Financial API in
> the FKS Web Model and have a few questions regarding the OAuth 2.0 Token
> Binding.
>
> In section 3.1. of draft-ietf-oauth-token-binding-06, it is not very
> clear how an Access Token issued from the Authorization Endpoint is Token
> Bound. Is this intended to be the same as an AC issued for a web server
> client? It seems that the user-agent sends both the Provided and Referred
> Token Bindings to the AS, which means that the AS can bind the Access Token
> to the Referred Token Binding, which is the Token Binding between the
> user-agent and the client.
> However, the Access Token is not used by the user-agent, which means that
> the client can only send the Token Binding ID used by the user-agent (which
> essentially is the public key) to the Resource Server.
>
> Is this the intended flow of the Token Binding? Because the first
> paragraph of 3.1 says that the "Token Binding ID of the client's TLS
> channel to the protected resource is sent with the authorization request as
> the Referred Token Binding ID", but we assume that the user-agent reveals
> the TB-ID of its own channel to the client.
>
> Best regards,
> Pedram Hosseyni
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
>

-- 
_CONFIDENTIALITY NOTICE: This email may contain confidential and privileged 
material for the sole use of the intended recipient(s). Any review, use, 
distribution or disclosure by others is strictly prohibited.  If you have 
received this communication in error, please notify the sender immediately 
by e-mail and delete the message and any file attachments from your 
computer. Thank you._