lacostabr / socialauth-net

Automatically exported from code.google.com/p/socialauth-net
0 stars 0 forks source link

Error in declining authorization request of google #121

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Integrated my web application with social auth and I logged in through google 
provider.
2.During authorization, I select "No Thanks" then,
3.It redirected to error page, for you reference I attached screenshot

What is the expected output? What do you see instead?
This should be redirected to my errorRedirectUrl, but it redirect to 
socialauth/validate.sauth, I attached the screenshot for your reference

What version of the product are you using? On what operating system?
socialauth-v2.3, OS: server2008r2

Please provide any additional information below.
All other providers working good, but this error occurs only when decline the 
authorization request of google, if we allow it works good.

Give me a reply soon, Thanks in advance.

Regards,
Hari

Original issue reported on code.google.com by harishams.acme on 12 Oct 2012 at 2:13

Attachments:

GoogleCodeExporter commented 9 years ago
I am also facing the same error when I did. Any updates on this will be 
appreciated. 

Regards,
Santhosh. 

Original comment by santhosh...@gmail.com on 18 Oct 2012 at 11:27

GoogleCodeExporter commented 9 years ago
Hi,

This was fixed post 2.3 release (commit 398).
Please refer this revision for changes. There is just 1 line of code change.
Replace Line 580 with:
HttpContext.Current.Response.Redirect(errorUri.Uri.AbsoluteUri.ToString());
Deepak

Original comment by deepak.a...@3pillarglobal.com on 29 Oct 2012 at 10:37