kmoonki / oauth

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

CallbackUrl not read in cmdline example for Java #200

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My service provider is returning an error 400 Bad Request with the following 
error message during the Request Token step:

oauth_problem=parameter_absent
oauth_parameters_absent=oauth_callback

In the OAuth trace output, it is indeed missing as of OAuth 1.4.

src.net.oauth.example.cmdline.OAuthHelper, line 69, explicitly initializes 
callbackUrl to null instead of reading the value from the properties file.

Section 6.1.1 of the Auth 1.0 spec allows for service providers to require 
additional parameters in the Auth header as they see fit.

Original issue reported on code.google.com by Joe.Tar...@gmail.com on 1 May 2011 at 11:18

GoogleCodeExporter commented 9 years ago
Spec also says that it should say "oob" instead of null.

Original comment by malac...@gmail.com on 26 Jun 2011 at 4:13