Donbenorden / oauth-signpost

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

retrieveRequestToken(consumer, null) fails with signpost 1.2.1.1 #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
With upgrade from 1.1 to 1.2.1.1 the call

provider.retrieveRequestToken(consumer, null);

no longer succeeds.

provider.retrieveRequestToken(consumer, "");

works, but according to docs the first call is correct.

See also http://josm.openstreetmap.de/ticket/5100

The request sent to server contains an line like
Authorization: OAuth null, ....

which is very likely wrong and results in an 401. The "null" argument to 
callback seems not properly handled anymore and is written into the 
Authorization line instead of beeing skipped.

Original issue reported on code.google.com by goo...@dstoecker.de on 30 Aug 2010 at 4:01

GoogleCodeExporter commented 8 years ago
Maybe this causes #41 and #49 as well?

Original comment by goo...@dstoecker.de on 30 Aug 2010 at 4:12