[OAUTH-WG] Extra "Authorization: Basic" lines in examples

Mike Jones <Michael.Jones@microsoft.com> Tue, 26 July 2011 04:27 UTC

Return-Path: <Michael.Jones@microsoft.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 D96FC11E8072 for <oauth@ietfa.amsl.com>; Mon, 25 Jul 2011 21:27:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.506
X-Spam-Level:
X-Spam-Status: No, score=-10.506 tagged_above=-999 required=5 tests=[AWL=0.092, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nZzweXoe2aB3 for <oauth@ietfa.amsl.com>; Mon, 25 Jul 2011 21:27:35 -0700 (PDT)
Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by ietfa.amsl.com (Postfix) with ESMTP id 0B20922800F for <oauth@ietf.org>; Mon, 25 Jul 2011 21:27:35 -0700 (PDT)
Received: from TK5EX14HUBC106.redmond.corp.microsoft.com (157.54.80.61) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 25 Jul 2011 21:27:34 -0700
Received: from TK5EX14MBXC207.redmond.corp.microsoft.com ([169.254.7.174]) by TK5EX14HUBC106.redmond.corp.microsoft.com ([157.54.80.61]) with mapi id 14.01.0323.002; Mon, 25 Jul 2011 21:27:34 -0700
From: Mike Jones <Michael.Jones@microsoft.com>
To: "oauth@ietf.org" <oauth@ietf.org>
Thread-Topic: Extra "Authorization: Basic" lines in examples
Thread-Index: AcxLTFA0Z4eHMpLuQm277UVh4Gql/g==
Date: Tue, 26 Jul 2011 04:27:33 +0000
Message-ID: <4E1F6AAD24975D4BA5B16804296739434985C1B5@TK5EX14MBXC207.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.34]
Content-Type: multipart/alternative; boundary="_000_4E1F6AAD24975D4BA5B16804296739434985C1B5TK5EX14MBXC207r_"
MIME-Version: 1.0
Subject: [OAUTH-WG] Extra "Authorization: Basic" lines in examples
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, 26 Jul 2011 04:27:36 -0000

In sections 4.1.3, 4.3.2, 4.4.2, and 6 of draft -20, the examples contain both the line "Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW" and credentials in the post body.  For instance, the example from 4.3.2 is:

     POST /token HTTP/1.1
     Host: server.example.com
     Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW
     Content-Type: application/x-www-form-urlencoded;charset=UTF-8

     grant_type=password&username=johndoe&password=A3ddj3w

I believe that the "Authorization: Basic czZCaGRSa3F0MzpnWDFmQmF0M2JW" line should be deleted from all of these examples, as you either use Basic or credentials in the post body, but not both.

                                                            Thanks,
                                                            -- Mike