ignacio/LuaOAuth — pull request #8 by cwarden (2012-01-05 17:27:15+00:00)
Title: Include only oauth_token in Authorization URL by default

Include only the oauth_token parameter in the query string of the
Authorization URL returned by BuildAuthorizationUrl by default. Other
parameters can be added by passing the optional arguments table to
BuildAuthorizationUrl.

This is consistent with http://tools.ietf.org/html/rfc5849#section-2.2,
which states that oauth_token is the only required parameter.

This fixes a problem with the Google Authorization endpoint in which it
returns an error when the oauth_signature parameter is present in the
query string.

Both the Twitter
(https://dev.twitter.com/docs/auth/oauth#Sending_the_user_to_authorization)
and Google
(http://code.google.com/apis/accounts/docs/OAuth_ref.html#GetAuth)
authorization endpoints only require the oauth_token parameter.