Re: [OAUTH-WG] Mail regarding draft-ietf-oauth-v2

Nat Sakimura <sakimura@gmail.com> Tue, 07 February 2012 01:01 UTC

Return-Path: <sakimura@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 4765A11E80B5 for <oauth@ietfa.amsl.com>; Mon, 6 Feb 2012 17:01:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.932
X-Spam-Level:
X-Spam-Status: No, score=-2.932 tagged_above=-999 required=5 tests=[AWL=-0.333, BAYES_00=-2.599]
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 mOGpQ8ILV11M for <oauth@ietfa.amsl.com>; Mon, 6 Feb 2012 17:01:44 -0800 (PST)
Received: from mail-lpp01m020-f172.google.com (mail-lpp01m020-f172.google.com [209.85.217.172]) by ietfa.amsl.com (Postfix) with ESMTP id 2F23D11E8085 for <oauth@ietf.org>; Mon, 6 Feb 2012 17:01:43 -0800 (PST)
Received: by lbbgk8 with SMTP id gk8so1538156lbb.31 for <oauth@ietf.org>; Mon, 06 Feb 2012 17:01:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=2qP1jDuNhHjkOX1yjuMmXa+sXedAzJNZ/HtZhCgUwhw=; b=al11jnV81cq3xSneky1bw/yTpYEL0OASHSGGmHA6rLGSlueW4JsEPGoTvBG5Q8QaFX A4LRIAqkJYMCQLo36Nz8h9mEMRkpPBOTgqNBJQhac/WH8sTRW/Bdvg5DgLb2KffOZ+m+ ZjUctQzfKO7Pl6sInE4NPfrAvFcItm6B2Fh1o=
MIME-Version: 1.0
Received: by 10.112.48.193 with SMTP id o1mr5713581lbn.1.1328576503078; Mon, 06 Feb 2012 17:01:43 -0800 (PST)
Received: by 10.152.21.133 with HTTP; Mon, 6 Feb 2012 17:01:43 -0800 (PST)
In-Reply-To: <4F302EB0.9070305@mitre.org>
References: <6B9B0CEF7F409D439E78288D8665BD8FAEAC63@oakmont.llu.ad.lluahsc.org> <90C41DD21FB7C64BB94121FBBC2E723453AADDD18C@P3PW5EX1MB01.EX1.SECURESERVER.NET> <4F302EB0.9070305@mitre.org>
Date: Tue, 07 Feb 2012 10:01:43 +0900
Message-ID: <CABzCy2AVxe8t9Jw16qth0k08Lama-HDsuaD-BLdvkPOQmiFAbA@mail.gmail.com>
From: Nat Sakimura <sakimura@gmail.com>
To: Justin Richer <jricher@mitre.org>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Cc: OAuth WG <oauth@ietf.org>, "Thomas, Christopher (LLU)" <cwthomas@llu.edu>
Subject: Re: [OAUTH-WG] Mail regarding draft-ietf-oauth-v2
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: Tue, 07 Feb 2012 01:01:45 -0000

Should somebody just forward this to ietf@ietf.org mailing list so
that it will be taken as the response to the last call?

=nat

On Tue, Feb 7, 2012 at 4:49 AM, Justin Richer <jricher@mitre.org> wrote:
> +1 for consistent examples.
>
>  -- Justin
>
>
> On 02/06/2012 02:35 PM, Eran Hammer wrote:
>
> Sending to the right place.
>
>
>
> From: Thomas, Christopher (LLU) [mailto:cwthomas@llu.edu]
> Sent: Monday, February 06, 2012 11:33 AM
> To: draft-ietf-oauth-v2@tools.ietf.org
> Subject: Mail regarding draft-ietf-oauth-v2
>
>
>
> Hello,
>
>
>
> I’m looking into implementing the Oauth2 spec for a work project and I think
> I ran into an issue with the version 23 documentation. According to the
> Oauth2 documentation, a client can send it’s credentials one of two ways: 1)
> via HTTP Basic Auth 2) via the request body parameters. Section 2.3.1 says
> “….the HTTP Basic authentication scheme as defined in [RFC2617] to
> authenticate with the authorization server.  The client identifier is used
> as the username, and the client password is           used as the password.”
>
>
>
> The example given in Section 2.3.1 is:
>
>
>
> Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW
>
>
>
> According to RFC2617 Section 2, the value of the credential is a base64
> representation of “username:password” (no quotes). This means when the value
> is decoded, it is “s6BhdRkqt3:gX1fBat3bV”. So, according to the HTTP Basic
> Auth example, the client_id is s6BhdRkqt3 and the client_secret is
> gX1fBat3bV. Just below the basic auth example is the request body example:
>
>
>
> POST /token HTTP/1.1
>
>      Host: server.example.com
>
>      Content-Type: application/x-www-form-urlencoded;charset=UTF-8
>
>
>
>      grant_type=refresh_token&refresh_token=tGzv3JOkF0XG5Qx2TlKWIA
>
>      &client_id=s6BhdRkqt3&client_secret=7Fjfp0ZBr1KtDRbnfVdmIw
>
>
>
>
>
> In the request body example, the client_secret does not match the
> client_secret in the HTTP Basic Auth example. I think the two should match
> for consistency. I propose the change that is in the patch attached to this
> email.
>
>
>
> Thank you for considering my suggestion.
>
>
>
>
>
> Chris
>
>
>
>
>
> Christopher Thomas, BA — Systems Analyst
> LOMA LINDA UNIVERSITY | Information Systems
>
> Loma Linda University, Loma Linda, California 92350
> x87866 or (909) 558-7866
>
>
>
>
>
> _______________________________________________
> 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
>



-- 
Nat Sakimura (=nat)
Chairman, OpenID Foundation
http://nat.sakimura.org/
@_nat_en