There is nothing wrong with the examples.

From: oauth-boun...@ietf.org [mailto:oauth-boun...@ietf.org] On Behalf Of Mike 
Jones
Sent: Monday, July 25, 2011 9:28 PM
To: oauth@ietf.org
Subject: [OAUTH-WG] Extra "Authorization: Basic" lines in examples

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

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth

Reply via email to