emonarafat / socialauth-net

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

Login not working, redirecting to unknown page #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Log in With Facebook
2. Authenticate App (Enter User name and password)

What is the expected output? What do you see instead?
Expected : Redirects to the Accounts page.

Error : HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is 
temporarily unavailable. 

Kindly check this URL (http://leorbis.com/Login.aspx) for the error.

What version of the product are you using? On what operating system?
Version 2.3

Please provide any additional information below.
Please find the attached file for the screen shot of the error.

Original issue reported on code.google.com by monodee...@gmail.com on 27 Nov 2012 at 11:09

Attachments:

GoogleCodeExporter commented 9 years ago
UPDATE: The same project works fine in localhost, but when i host it online. It 
gives the above error.

Original comment by monodee...@gmail.com on 27 Nov 2012 at 11:11

GoogleCodeExporter commented 9 years ago
Ensure few things:

1. Production IIS is using Pipeline Integrated Mode for App Pool 
2. You've added Web.Server configuration for registering handlers and modules 
in Web.Config (Its there is demo application web.config too)
3. Your host supports customHttpHandler and customHttpModules (GoDaddy doesn't) 

Most likely 3. should be the issue. 404 only comes when for some reason 
CustomHttpHandlers are not supported.

Deepak

Original comment by deepakag...@gmail.com on 27 Nov 2012 at 11:20

GoogleCodeExporter commented 9 years ago
Thanks Deepak for the quick response. 
Kindly check this url http://leorbis.com/Accounts.aspx .

I figured out that i missed this section in the web.config but now there is a 
new problem, after i added the following section to my web.config, i get a pop 
up when i try to access this link http://leorbis.com/Accounts.aspx...kindly 
check.

<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>

Original comment by monodee...@gmail.com on 27 Nov 2012 at 11:25

GoogleCodeExporter commented 9 years ago
This is the correct link   http://leorbis.com/Accounts.aspx

Original comment by monodee...@gmail.com on 27 Nov 2012 at 11:26

GoogleCodeExporter commented 9 years ago
UPDATE: If i am logged in , i do not get that pop up

Original comment by monodee...@gmail.com on 27 Nov 2012 at 11:27

GoogleCodeExporter commented 9 years ago
I believe you're using forms authentication. Have you added:

<location path="SocialAuth">
        <system.web>
            <authorization>
                <allow users="*"/>
            </authorization>
        </system.web>
    </location>

You may refer: 
http://code.google.com/p/socialauth-net/wiki/Integration_Guide#Option_–_3:__Ch
anges_for_using_SocialAuth_.NET_standard_authen

Original comment by deepakag...@gmail.com on 27 Nov 2012 at 11:31

GoogleCodeExporter commented 9 years ago
<authentication mode="None"/> i have this in my web.config

Original comment by monodee...@gmail.com on 27 Nov 2012 at 11:32

GoogleCodeExporter commented 9 years ago
I am calling a webservice. Do i have to mention it here "<Allow 
Files="WebService.asmx|Index.aspx|Accounts.aspx|GetToken.aspx|ManualLogin.aspx" 
/>"

Original comment by monodee...@gmail.com on 27 Nov 2012 at 11:41

GoogleCodeExporter commented 9 years ago
Hi,

Is your issue resolved?

Deepak

Original comment by deepak.a...@3pillarglobal.com on 14 Dec 2012 at 10:02

GoogleCodeExporter commented 9 years ago
I'm closing this issue on account of no reply. We believe, it is either 
resolved or doesn't requires a fix anymore. If this is not the case, please 
feel absolutely free to re-open this issue with some more details on problem.

Deepak

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