Re: [OAUTH-WG] Building on the protocol in the draft “OAuth 2.0 Token Exchange: An STS for the REST of Us” to include Authentication Tokens

Brian Campbell <bcampbell@pingidentity.com> Tue, 19 April 2016 18:31 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 DC1E912E3F7 for <oauth@ietfa.amsl.com>; Tue, 19 Apr 2016 11:31:09 -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 eDs2rWEVmPCO for <oauth@ietfa.amsl.com>; Tue, 19 Apr 2016 11:31:07 -0700 (PDT)
Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (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 979D712E3E2 for <oauth@ietf.org>; Tue, 19 Apr 2016 11:31:07 -0700 (PDT)
Received: by mail-ig0-x231.google.com with SMTP id g8so25532691igr.0 for <oauth@ietf.org>; Tue, 19 Apr 2016 11:31:07 -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=HLEI478uDYzMdsSXNGw5tJJFw8X1LEFB1dbyLJvDfBo=; b=gGtV26t9T338rtbSqWAt+m9ARzRu2pMe8aGzJtoRqTNShh2jIRlE+Ta3ZKk6FYLh9R z6gt/LVHTtlccR0Nr0F+tmjnkQ1ZP7YGG7apLVJpjO1LwN0Of83memq3oIrfFlMC3rX4 dEBKBlBScd9JcADte8RLeQUoxf6tdAWpc3t4Y=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HLEI478uDYzMdsSXNGw5tJJFw8X1LEFB1dbyLJvDfBo=; b=CkoE/t9ZqLlGG2ioQ69PoPu5K8nGIfOwoiwe7Vp1tx8eD2yszy9Ky7IIua/8Z3iBHE bYX4XbcTr9lS+0EG8uYfcLuOGN6MwQ5le4Ni49Q8L0LQdPl7oF980OAuxDy/b441oJSh rUrxj2/ySdhU0Vwqut8iEWTGbY8xd/7ETlABrIFBUv7xRFfDfe5Id/qHNqv/vFzShwmH 5E0QcEeI8a/RNpW7Ca19E4axeurFlvub+pOINMmOnKqb1QcLhesQhpyjucblLpb9aJpd 885nQhk1eqQDeepng1k1r27TqefdLV63ASrbY/R9xGO6/zv15WFwgMazk54WHC5KTLwe sDtg==
X-Gm-Message-State: AOPr4FUEq0Z6O4oT69xb4ocnfelQmtfV2eNFp1gdj/FRs/STwRYt71q3wkxjvCMVGC91WPxR6f9z2yr29EVrlyfC
X-Received: by 10.50.29.242 with SMTP id n18mr5519854igh.62.1461090666000; Tue, 19 Apr 2016 11:31:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.77.215 with HTTP; Tue, 19 Apr 2016 11:30:36 -0700 (PDT)
In-Reply-To: <A85A7E53-1AE2-4141-B6AF-FE3E19DEBA75@ve7jtb.com>
References: <FF8F219E-AB2E-48F5-AD90-DEA783343C1B@verisign.com> <A85A7E53-1AE2-4141-B6AF-FE3E19DEBA75@ve7jtb.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Tue, 19 Apr 2016 12:30:36 -0600
Message-ID: <CA+k3eCR21HWSVNgT6eGLkaCE3ekKdv++_HJtsqkJh4Pg1Xm1kQ@mail.gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary="f46d04428eca220ee30530daae55"
Archived-At: <http://mailarchive.ietf.org/arch/msg/oauth/PFGdkeXRaE4XTAThib2b0zvT9ow>
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Building on the protocol in the draft “OAuth 2.0 Token Exchange: An STS for the REST of Us” to include Authentication Tokens
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.17
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, 19 Apr 2016 18:31:10 -0000

The Token Exchange draft does put the Authorization Server (AS) in the role
of STS because it's an extension of OAuth. But that shouldn't be viewed as
limiting. An AS is often deployed as one part of an Identity Provider.
OpenID Connect, as John mentioned, is one standard that combines the roles.
And many products/services/deployments have an AS as part of their overall
Identity Provider offering, which might also have OpenID Connect, SAML,
etc.

On Tue, Apr 19, 2016 at 12:06 PM, John Bradley <ve7jtb@ve7jtb.com> wrote:

> Looking at OpenID Connect and it’s trust model for producing id_tokens
> that assert identity may help you.
> http://openid.net/wg/connect/
>
> Unfortunately I can’t quite make out what you are trying to do.
>
> It sort of sounds like you want an id_token from a idP and then have the
> client exchange that assertion for another token?
>
> John B.
>
> On Apr 19, 2016, at 1:18 PM, Fregly, Andrew <afregly@verisign.com> wrote:
>
> I have a use case where a client application needs to authenticate with a
> dynamically determined Identity Provider that is separate from the
> Authorization Service that will be used issue an access token to the
> client. The use case also requires that as part of authorization, the
> client provides to the Authorization Service an authentication token signed
> by an Identity Provider that the Authorization Service has a trust
> relationship with. The trust relationship is verifiable based on the
> Authorization Service having recorded the public keys or certificates of
> trusted Identity Providers in a trust store, this allowing the
> Authorization Service to verify an Identity Provider’s signature on an
> authentication token.
>
> In looking at the various OAuth RFCs, particularly RFCs 7521, 7522, and
> 7523, I see that they get me close in terms of supporting the use case.
> What is missing is a means for solving the following problem. These RFCs
> require that the Identity Provider put an Audience claim in the
> authentication token. The problem with this is that I do not see in the
> RFCs how the Identity Provider can be told who the Audience is to put into
> the authentication token. This leads me to the title of this message. The
> draft “OAuth 2.0 Token Exchange: An STS for the REST of Us” defines a
> mechanism for identifying the Audience for an STS to put into a token it
> generates. That would solve my problem except that the draft limits the
> type of STS to being Authorization Servers. What is needed is this same
> capability for interacting with an Identity Provider. This would enable
> RFCs 7521, 7522 and 7523 to be useful in situation where the Identity
> Provider needs to be told the identity of the Authorization Service.
>
> I am new to interacting with the IETF. I also am not an expert on the RFCs
> or prior history of the OAuth group relative to this topic, so please point
> me to any existing solution if this is a solved problem. Otherwise, I would
> like to get feedback on my suggestion.
>
> Thanks You,
>
> Andrew Fregly
> Verisign Inc.
> _______________________________________________
> 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
>
>