summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/SampleWcf.aspx.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuthConsumer/SampleWcf.aspx.cs')
-rw-r--r--samples/OAuthConsumer/SampleWcf.aspx.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthConsumer/SampleWcf.aspx.cs b/samples/OAuthConsumer/SampleWcf.aspx.cs
index 7ea5f62..4e0d6cd 100644
--- a/samples/OAuthConsumer/SampleWcf.aspx.cs
+++ b/samples/OAuthConsumer/SampleWcf.aspx.cs
@@ -47,7 +47,7 @@
{ "scope", scope },
};
Uri redirectUri = await consumer.RequestUserAuthorizationAsync(callback.Uri, requestParams);
- this.Response.RedirectLocation = redirectUri.AbsoluteUri;
+ this.Response.Redirect(redirectUri.AbsoluteUri);
}
protected async void getNameButton_Click(object sender, EventArgs e) {