Re: [OAUTH-WG] Proposed URN for JWT token type: urn:ietf:params:oauth:token-type:jwt

Peter Saint-Andre <stpeter@stpeter.im> Thu, 03 May 2012 18:56 UTC

Return-Path: <stpeter@stpeter.im>
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 05BF921F866B for <oauth@ietfa.amsl.com>; Thu, 3 May 2012 11:56:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.603
X-Spam-Level:
X-Spam-Status: No, score=-102.603 tagged_above=-999 required=5 tests=[AWL=-0.004, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0b65TEZx-aHj for <oauth@ietfa.amsl.com>; Thu, 3 May 2012 11:56:41 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id 4CA0E21F8627 for <oauth@ietf.org>; Thu, 3 May 2012 11:56:41 -0700 (PDT)
Received: from [64.101.72.115] (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id E27F540058; Thu, 3 May 2012 13:11:42 -0600 (MDT)
Message-ID: <4FA2D4E7.4030403@stpeter.im>
Date: Thu, 03 May 2012 12:56:39 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>
References: <4E1F6AAD24975D4BA5B1680429673943664A485A@TK5EX14MBXC284.redmond.corp.microsoft.com>
In-Reply-To: <4E1F6AAD24975D4BA5B1680429673943664A485A@TK5EX14MBXC284.redmond.corp.microsoft.com>
X-Enigmail-Version: 1.4.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [OAUTH-WG] Proposed URN for JWT token type: urn:ietf:params:oauth:token-type:jwt
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Thu, 03 May 2012 18:56:42 -0000

On 5/1/12 5:04 PM, Mike Jones wrote:
> I’m editing the JWT spec to prepare for the OAuth WG version and to
> track changes in the JOSE specs.  Currently the “typ” values defined for
> JWT tokens are “JWT” and “http://openid.net/specs/jwt/1.0” (see
> http://tools.ietf.org/html/draft-jones-json-web-token-08#section-5).  I
> believe that the URN value should be changed to use a URN taken from the
> OAuth URN namespace urn:ietf:params:oauth (defined in
> http://tools.ietf.org/html/draft-ietf-oauth-urn-sub-ns-02).
> 
>  
> 
> I propose to use the URN:^
> 
>                urn:ietf:params:oauth:token-type:jwt
> 
>  
> 
> I believe this fits well with the other four uses of this namespace to date:
> 
>                urn:ietf:params:oauth:grant-type:saml2-bearer
> 
>                urn:ietf:params:oauth:client-assertion-type:saml2-bearer
> 
>                urn:ietf:params:oauth:grant-type:jwt-bearer 
> 
>                urn:ietf:params:oauth:client-assertion-type:jwt-bearer
> 
>  
> 
> (The first two are from
> http://tools.ietf.org/html/draft-ietf-oauth-saml2-bearer-11.  The latter
> two are from http://tools.ietf.org/html/draft-jones-oauth-jwt-bearer-04.)
> 
>  
> 
> Do people agree with this URN choice?

Looks fine to me.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/