nguyentientoan / socialauth-net

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

Socialauth/validate.sauth return page not found #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install all required lib using nuget, and replace socialauth with ver 2.3.1 
patch

2. setting configuration :
  in configuration :
   <configSections>
        <section name="SocialAuthConfiguration" type="Brickred.SocialAuth.NET.Core.SocialAuthConfiguration, SocialAuth-net, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" allowLocation="true"/>
    </configSections>

  in system.web :
   <authentication mode="None"/>
   <httpHandlers>
            <add verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler"/>
            <add verb="GET" path="CaptchaImage.axd" type="MSCaptcha.CaptchaImageHandler, MSCaptcha"/>
        </httpHandlers>
        <httpModules>
            <add name="SocialAuthAuthentication" type="Brickred.SocialAuth.NET.Core.SocialAuthHttpModule"/>
        </httpModules>

   in socialauthconfiguration :
            ... provider wrapper key and secret....
      <Authentication Enabled="false" />

3.  add new page with a button and on click event : create socialauthuser 
instance and call login method

What is the expected output? What do you see instead?
when the button is clicked, the page direct to provider login page and after 
login/grant access the page redirect to domain/socialauth/validate.sauth which 
return page not found.

What version of the product are you using? On what operating system?
socialauth 2.3.1 on windows server 2003

Please provide any additional information below.
i have add the returnurl in login parameter but it just keep redirect to 
socialauht/validate.sauth which is page not found

Original issue reported on code.google.com by loren.sh...@gmail.com on 8 Mar 2013 at 3:06

GoogleCodeExporter commented 8 years ago
hi, nvm this issue. it looks like issue #111 has the answer to this. it state : 

"Hi,

Yep! We aonly support IIS7 (both integrated and classic mode)
Glad its resolved. Closing this issue.
Deepak"

gee, this lib doesn't really friendly at all. i have to upgrade my fx from 2 to 
4 just to install it and still can't get it working coz the iis version demand. 
it is better to have this lib build for the lowest possible requirement as not 
all dev have the lastest version of everything :(

Lorensius

Original comment by loren.sh...@gmail.com on 8 Mar 2013 at 3:31

GoogleCodeExporter commented 8 years ago
Hi,

We've no plans to support any version before IIS7. 

Deepak

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