emonarafat / socialauth-net

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

"Length cannot be less than zero" error #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I used the installer for SocialAuth and used our own key/secret for facebook. I 
clicked on the facebook icon, logged in to facebook and accepted the app. When 
I continue, I get the error below.

What is the expected output? What do you see instead?

Length cannot be less than zero.
Parameter name: length
Error is on this line:string wctxContent = originalUrl.Substring(wctxBeginsFrom 
+ 5, wctxEndsAt - (wctxBeginsFrom + 5));

If I go back to the login page, the facebook icon now has the check mark, so I 
am logged in.

What version of the product are you using? On what operating system?
Jan 2012 SocialAuth.net Security Token Service Installer

Please provide any additional information below.

Original issue reported on code.google.com by elizabet...@gmail.com on 19 Oct 2012 at 4:50

GoogleCodeExporter commented 9 years ago
Hi,

Token Service Installer was specifically designed to be used with 
WIF/Sharepoint. If you're using it for a general ASP.NET application, please 
use 2.3 version. Otherwise, I would suggest to provide more information on your 
architecture on how are you hosting and consuming SocialAuth.NET.
Thanks
Deepak

Original comment by daggar...@brickred.com on 25 Oct 2012 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by deepak.a...@3pillarglobal.com on 18 Jan 2013 at 9:02

GoogleCodeExporter commented 9 years ago
We've decided to discontinue Sharepoint support. However, We'll continue to 
fully support integration with .NET web variants like webforms, MVC etc.

Original comment by deepak.a...@3pillarglobal.com on 1 Dec 2013 at 1:50