Hi,

On Apr 24, 2009, at 12:29 PM, Manish Pandit wrote:

>
>
> On Apr 24, 2:04 am, Raymond Cheung <daitao...@gmail.com> wrote:
>> Dear all,
>>
>> I'm the newbie on OAuth. I've a silly question. How can I specify the
>> "Authentication: OAuth" header inside FORM element? Thanks.
>>
>> Best regards,
>> Raymond
>
>
> You should not use the Authentication: OAuth in the FORM. This is
> meant for Authorization Header which is an HTTP Header.
>
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

It is, however, possible and allowed (section 5.2 item 2 of the spec  
[1]) to send the OAuth parameters as URL-encoded form POST body  
parameters. The parameter names are given in the spec. but otherwise a  
standard guide (or easily found on the Web examples) to writing HTML  
should help establish how to create an appropriate HTML form. The SP  
to which you are sending such a form will have to allow this kind of  
access, of course.

Regards,

- johnk

[1] http://oauth.net/core/1.0/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to oauth@googlegroups.com
To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/oauth?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to