deshion / socialauth-net

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

Getting 400 Bad request error after referring SocialAuth.net 2.3.1a Patch for Twitter #189

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. While signing in through twitter from my app, once clicked on Authorize app 
taking to error page
2.
3.

What is the expected output? What do you see instead?
Should redirect to home page instead giving 400 error

What version of the product are you using? On what operating system?
SocialAuth.net 2.3.1a Patch for Twitter and Windows 8

Please provide any additional information below.
I have updated twitterizer2 to latest version(2.4.2) and updated SocialAuth to 
above version dll. After updating I am getting the error, before it was going 
back to login page again( I am trying to fix the issue of "Not able to login to 
App by using Twiiter as Twitter upgraded to 1.1a").
Below is the url I am getting when error occurred
http://localhost:5000//SocialAuth/validate.sauth?oauth_token=P7mp94aNB4BDAy8ULWm
zpNVMalkgPHIf5JDwNJIfJc&oauth_verifier=4y0DqsIGSaR3L63oED4mICMLVRnnwiEMmILiQoAiq
A

Config file contains below

<section name="log4net" 
type="log4net.Config.Log4NetConfigurationSectionHandler,Log4net" />
        <section name="SocialAuthConfiguration" type="Brickred.SocialAuth.NET.Core.SocialAuthConfiguration, SocialAuth-net, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" allowDefinition="Everywhere" allowLocation="true" />
        <section name="dotNetOpenAuth" type="DotNetOpenAuth.Configuration.DotNetOpenAuthSection" requirePermission="false" allowLocation="true" />
<dotNetOpenAuth>
        <openid>
            <relyingParty>
                <behaviors>
                    <add type="DotNetOpenAuth.OpenId.Behaviors.AXFetchAsSregTransform, DotNetOpenAuth" />
                </behaviors>
            </relyingParty>
        </openid>
    </dotNetOpenAuth>
<httpHandlers>
            <add verb="*" path="STResource.ashx" type="Forside.Services.EntityServices.StoreFront.HttpRuntime.STResource, Forside.Services.EntityServices.StoreFront" />
            <add verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler" />
        </httpHandlers>

        <httpModules>
            <add type="Forside.UI.Classes.Helpers.RequestFilter" name="RequestFilter" />
            <add name="SocialAuthAuthentication" type="Brickred.SocialAuth.NET.Core.SocialAuthHttpModule" />
        </httpModules>
 <system.webServer>
        <urlCompression doStaticCompression="false" />
        <validation validateIntegratedModeConfiguration="false" />

        <modules runAllManagedModulesForAllRequests="true">
            <remove name="WebDAVModule" />
            <add name="SocialAuthAuthentication" type="Brickred.SocialAuth.NET.Core.SocialAuthHttpModule" />
        </modules>

        <handlers accessPolicy="Read, Execute, Script">
            <remove name="WebDAV" />
            <add name="socialAuth.NET" verb="*" path="*.sauth" type="Brickred.SocialAuth.NET.Core.CallbackHandler" />
        </handlers>

Original issue reported on code.google.com by chandrak...@sourcebits.com on 16 Aug 2013 at 9:05

GoogleCodeExporter commented 9 years ago
Support is provided and the code is fixed for this.

Original comment by deepak.a...@3pillarglobal.com on 21 Oct 2013 at 5:56