diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-22 14:48:07 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-22 14:48:07 -0700 |
commit | 29b7875c73d20f5607896e9f35a45d0a8bae4c54 (patch) | |
tree | 366e75702e11523690959eae0e6dc58a328d3491 /samples/OAuthConsumer/SampleWcf2.aspx.cs | |
parent | 4d2ec520fe9b42d0d0f1b764029a33dab906e68a (diff) | |
download | DotNetOpenAuth-29b7875c73d20f5607896e9f35a45d0a8bae4c54.zip DotNetOpenAuth-29b7875c73d20f5607896e9f35a45d0a8bae4c54.tar.gz DotNetOpenAuth-29b7875c73d20f5607896e9f35a45d0a8bae4c54.tar.bz2 |
Ripped out OAuth 1.0 support from the OAuthServiceProvider sample.
Diffstat (limited to 'samples/OAuthConsumer/SampleWcf2.aspx.cs')
-rw-r--r-- | samples/OAuthConsumer/SampleWcf2.aspx.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/samples/OAuthConsumer/SampleWcf2.aspx.cs b/samples/OAuthConsumer/SampleWcf2.aspx.cs index deef073..7978f91 100644 --- a/samples/OAuthConsumer/SampleWcf2.aspx.cs +++ b/samples/OAuthConsumer/SampleWcf2.aspx.cs @@ -19,8 +19,8 @@ /// The details about the sample OAuth-enabled WCF service that this sample client calls into. /// </summary> private static AuthorizationServerDescription AuthServerDescription = new AuthorizationServerDescription { - TokenEndpoint = new Uri("http://localhost:65169/OAuth2.ashx/token"), - AuthorizationEndpoint = new Uri("http://localhost:65169/OAuth2.ashx/auth"), + TokenEndpoint = new Uri("http://localhost:65169/OAuth.ashx"), + AuthorizationEndpoint = new Uri("http://localhost:65169/Members/Authorize.aspx"), }; /// <summary> @@ -55,6 +55,7 @@ if (authorization != null) { // We are receiving an authorization response. Store it and associate it with this user. Authorization = authorization; + Response.Redirect(Request.Path); // get rid of the /?code= parameter } } } |