deshion / socialauth-net

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

SAuth not found #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I can't run demo.
I've got it online in http://teste.esenviseu.net/manuallogin.aspx

It redirects me to http://teste.esenviseu.net/SocialAuth/LoginForm.sauth, that 
doesn't exists...

Thanks

Nuno barros

Original issue reported on code.google.com by nunobar...@gmail.com on 16 Aug 2011 at 4:40

GoogleCodeExporter commented 9 years ago
I've got some changes...

My test site (http://teste.esenviseu.net) redirects, on the first call, to 
http://teste.esenviseu.net/login.aspx?ReturnUrl=%2f

When I click on the Facebook login it ask for Facebook login, Authorization for 
the application and then redirects me to 
http://teste.esenviseu.net/SocialAuth/validate.sauth?code=AQA6XeKVGgodhc-9r75h-y
Kze6mWhfhVqvhJP4G-DrSTnearRuNdcLW-PK6RY8m0ni7udsZ6LbrtwGOBvvylqXZzK52JnmOGQKXZVd
iugQV7BTYLG_ZCiO23EVXLPSjv0ueDOpJFLpxQZtE1AzyMN2zXX3u0otVSWmnMSa8D6SLL2MU55xiAPG
Gi9SPZ2A9hyOioGeFxAdtS8r--qHVy_Q-b

It says now that it can't find the page... I assume it's validate.sauth

I attach my web.config file.

Can someone help me? I've got a dead line to delivery a school work for my 
master degree... :(

Thanks.

Nuno Barros

Original comment by nunobar...@gmail.com on 17 Aug 2011 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
I don't understand what's happening? Is there anybody to answer me?

Original comment by nunobar...@gmail.com on 22 Aug 2011 at 2:27

GoogleCodeExporter commented 9 years ago
I've reached a conclusion...
My domain wasn't working ok.

I've changed to another place and it's fine now.

Thanks.

Original comment by nunobar...@gmail.com on 24 Aug 2011 at 6:01

GoogleCodeExporter commented 9 years ago
Hi Nunobar. Appologies for not being able to give a prompt reply. Glad it is 
working. Great if you can share what exact step actually fixed your issue? If 
this was a workaround, we would try to fix it upcoming SocialAuth 2.0

regards,
Deepak

Original comment by deepakag...@gmail.com on 6 Sep 2011 at 5:47

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by nunobar...@gmail.com on 6 Sep 2011 at 8:21

GoogleCodeExporter commented 9 years ago

Original comment by tsg.bric...@gmail.com on 22 Sep 2011 at 9:52

GoogleCodeExporter commented 9 years ago
After enter login info than i got this error. How to solve this problem?

URL:- 
http://betademo.loginradius.com/betademo/socialauth/validate.sauth?code=hjghjghj
gh

Server Error in '/betademo' Application.

'/betademo/socialauth/validate.sauth?code=frvrfvrvrfvrfvxrfvdrt5svcbcvbcvhcfhgch
fghfghgfhfghfgh' is not a valid virtual path.

Thanks
Khumesh

Original comment by khumeshi...@gmail.com on 10 Nov 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Hey Deepak,

I went through the code, I think the issue all of them facing is that they 
forgot to update web.config to link your httpmodule. The redirect url you set 
in lib is "socialauth/loginForm.sauth" and is handling in 
"SocialAuthHttpModule.cs". So if they miss to add the following part in 
web.config it will cause for the issue.

<system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="socialAuth.NET" verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler" />
    </handlers>
    <modules>
      <add name="SocialAuthAuthentication" type="Brickred.SocialAuth.NET.Core.SocialAuthHttpModule" />

    </modules>
  </system.webServer>

Thank you
Kirankumar

Original comment by kmkirank...@gmail.com on 12 Jan 2012 at 5:34