Deemoore / oauth-signpost

Automatically exported from code.google.com/p/oauth-signpost
0 stars 0 forks source link

Not able to authenticate when the server requires a www-authenticate header #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Latest version of oauth-signpost

Please provide any additional information below.
I am trying to authenticate against a web service using Oauth and all works
well until I request and access token. I get a 401 not authorized when I
try getting an access_token. I am guessing its because the site expects
www-authenicate realm attribute. Is there any way in which I can append it
to the request before its sent. 

Original issue reported on code.google.com by itsmeritesh on 14 Oct 2009 at 10:02

GoogleCodeExporter commented 9 years ago
You can use the OAuthProvider.setRequestHeader() method. Does that solve your 
problem?

Original comment by m.kaepp...@gmail.com on 5 Nov 2009 at 10:04

GoogleCodeExporter commented 9 years ago
I haven't tried that. Thanks for the tip. 

Original comment by itsmeritesh on 6 Nov 2009 at 5:14

GoogleCodeExporter commented 9 years ago

Original comment by m.kaepp...@gmail.com on 27 Jan 2010 at 9:24