summaryrefslogtreecommitdiffstats
path: root/samples/OAuthConsumer/SampleWcf.aspx.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-02 10:34:40 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-02 10:34:40 -0800
commit832b34964bd1732c7fe053c884bc78b6a0f09985 (patch)
tree61836fc178a3820cdd0a0e82c92023c0e49ef006 /samples/OAuthConsumer/SampleWcf.aspx.cs
parentcd7bed180abfe36ba4ae778d70cd7976de55907d (diff)
downloadDotNetOpenAuth-832b34964bd1732c7fe053c884bc78b6a0f09985.zip
DotNetOpenAuth-832b34964bd1732c7fe053c884bc78b6a0f09985.tar.gz
DotNetOpenAuth-832b34964bd1732c7fe053c884bc78b6a0f09985.tar.bz2
Applied similar redirect fixes elsewhere.
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) {