Hi,
I received the error "The remote server returned an error: (400) Bad Request." when integrating with facebook login.
The detailed error message is as follows:
AssemblyVersion: 6.2.5
PortalID: 0
PortalName: DNN_DEV
UserID: -1
UserName:
ActiveTabID: 55
ActiveTabName: Getting Started
RawURL: /login.aspx?state=Facebook&code=AQBrfHmJXOt7OZq-u7hXj8gKeeHrbFUrALN0e8cN8G2v319CL7Pnw3NSkcP_aVQBlkYuUTDUrmZ91OG62dVBuI23qxgqyuLkfXECuRhETRyguZzC7Gf1TlST8bG3pux9wzmq25N4D-bAaZzA7aMY-JJcKKPFIUE40FuB9TQrdLvo9aiZXD9pTJpJBH4OX3ohBmCzs3B8X7oEl0vU6ntozuUz
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2418dd44-eca2-4904-8f20-34ba5b6d18e8
InnerException: The remote server returned an error: (400) Bad Request.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Net.HttpWebRequest.GetResponse
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The remote server returned an error: (400) Bad Request. ---> System.Net.WebException: The remote server returned an error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExecuteWebRequest(HttpMethod method, Uri uri, String parameters, String authHeader) at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.ExchangeCodeForToken() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.AuthorizeV2() at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.Authorize() at DotNetNuke.Services.Authentication.OAuth.OAuthLoginBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Can anyone let me know the cause of the problem. I am using DNN version 6.2.5.
Many Thanks
Luke Sayaw