diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-09-25 08:34:45 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-09-25 08:34:45 -0700 |
commit | 696671219537f333f2a4831588ccfed3161d59bd (patch) | |
tree | 29c34cf3ace3b70773d4c6efb3932738c887b672 | |
parent | 6e7f89a2e808f827506f0b376a26c82616e9da85 (diff) | |
download | DotNetOpenAuth-696671219537f333f2a4831588ccfed3161d59bd.zip DotNetOpenAuth-696671219537f333f2a4831588ccfed3161d59bd.tar.gz DotNetOpenAuth-696671219537f333f2a4831588ccfed3161d59bd.tar.bz2 |
Ported a portion of commit 75d89d4e to v3.1 to fix ticket 128.
-rw-r--r-- | src/DotNetOpenAuth/OAuth/WebConsumer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth/OAuth/WebConsumer.cs b/src/DotNetOpenAuth/OAuth/WebConsumer.cs index 56d3029..d86444d 100644 --- a/src/DotNetOpenAuth/OAuth/WebConsumer.cs +++ b/src/DotNetOpenAuth/OAuth/WebConsumer.cs @@ -120,7 +120,8 @@ namespace DotNetOpenAuth.OAuth { } // Prepare a message to exchange the request token for an access token. - var requestAccess = new AuthorizedTokenRequest(this.ServiceProvider.AccessTokenEndpoint, this.ServiceProvider.Version) { + // We are careful to use a v1.0 message version so that the oauth_verifier is not required. + var requestAccess = new AuthorizedTokenRequest(this.ServiceProvider.AccessTokenEndpoint, Protocol.V10.Version) { RequestToken = positiveAuthorization.RequestToken, ConsumerKey = this.ConsumerKey, }; |