On Wed, Apr 21, 2010 at 11:11 AM, Eran Hammer-Lahav <e...@hueniverse.com> wrote:
> The reason I used 400 in the flows (section 3) is that a 401 response 
> requires returning a challenge [1]:
>
>   The request requires user authentication.  The response MUST include
>   a WWW-Authenticate header field.
>
> and we don't have a suitable challenge to return. We can't use the Token auth 
> scheme here because the flow endpoints are not OAuth-protected resources. 
> They use a mix of client credentials, user credentials, and verification 
> codes.

Yes, well, what the spec calls "flows" look to me like authentication
schemes used to get a token. My (free) advice would be to move all of
the flows to their own specs, perhaps leaving one in the document that
works using only HTTP authentication headers. That way, you'll finish
a lot faster, and other flows can use the base OAuth 2.0 document as a
reference. I am willing to provide text to illustrate this point.

-- 

Robert Sayre

"I would have written a shorter letter, but I did not have the time."
_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth

Reply via email to