chao / RESTClient

RESTClient, a debugger for RESTful web services.
http://www.restclient.net
BSD 3-Clause "New" or "Revised" License
703 stars 172 forks source link

Wrong header with OAuth2 #81

Open pgh70 opened 12 years ago

pgh70 commented 12 years ago

OAuth2 uses the Bearer header in stead of OAuth2 in the Authorisation-sting as of draft 3 of the specs (feb 2011).

http://tools.ietf.org/html/draft-ietf-oauth-v2-bearer-20#section-2.1

chao commented 12 years ago

Yes, however, currently only google implemented this specification.

pgh70 commented 12 years ago

Not only google... I use OAuth2-php (https://github.com/quizlet/oauth2-php) which also expects the Bearer header... If there are other implementations around which still use theOAuth2 header, perhaps it can be configurable in RESTclient?

chao commented 12 years ago

I have to say OAuth 2.0 is totally a chaos, I will add an option in the OAuth 2.0 dialog in next release. For now, maybe you can use insert as querystring instead of using HTTP header?

wysow commented 11 years ago

It seems that the issue is still here, some news about it ?