nguyentientoan / socialauth-net

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

User denied access to share his details with this application #194

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I`m trying to login via LinkedIn
2. I`m click on "Cancel" button from LinkedIn login(allow) window then I got an 
error : "User denied access to share his details with this application"
3. Its not redirect properly on "Cancel Redirect URL" 

What is the expected output? What do you see instead?
Exception Details: Brickred.SocialAuth.NET.Core.UserDeniedPermissionException: 
User denied access to share his details with this application

What version of the product are you using? On what operating system?
SocialAuth.Net 2.4 & Win 7

Please provide any additional information below.
website url with error parameters:  
http://xyz.com/socialauth/validate.sauth?error=access_denied&error_description=t
he+user+denied+your+request&state=635197248000000000

Please provide me perfact solution of this problem and if need to any setting. 

Original issue reported on code.google.com by khumeshi...@gmail.com on 11 Nov 2013 at 11:16

GoogleCodeExporter commented 8 years ago
Please provide me solution of below issue....

Original comment by khumeshi...@gmail.com on 12 Nov 2013 at 10:05

GoogleCodeExporter commented 8 years ago
It is deliberate to throw this error so that consumer can handle them it their 
way. So either you can apply a try catch and handle catch for this exception OR 
you can specify errorRedirectUrl argument of Login() operation. If this url is 
specified, instead of throwing error, SocialAuth redirects user to specified 
Url with all exception details. From their you can execute desired code and 
further redirect user as needed.

Original comment by deepak.a...@3pillarglobal.com on 16 Feb 2014 at 8:01