Hi, I'm attempting to get Facebook Authentication working. Google and Twitter are working fine.
When a user attempts to login with Facebook, they receive the following error message:
A critical error has occurred. Please check the Event Viewer for further details.
The event log shows:
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:6b4b1590-9adc-4b79-a11e-2159817047b8
AssemblyVersion:7.4.0
PortalId:0
UserId:-1
TabId:100
RawUrl:/Register?code=AQD9hbtbnvs1wn0qqJOEn1JIatD-NKSZ6S9xommhoL8oXZXGXVUBLrn-IUESytl0upyN5VhuZyj__WoWbr4-p-Q0ECBJ7c34vRAIlC-dFb-bPzgKYjq8mkJ9-GQVXT00iWhEb7g7gOtzSFMMRPssTPoRnfbDl_MJ0FEOSR8Ope044YqcJqMgEY2CVDWwaP_Aw0En4Gwk_XjRrBGjrOE9m7CNGtvoCtW9qGNFYFMasIhM
Referrer:https://www.facebook.com/
UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36
ExceptionHash:wASc0oVix1/VH1wVyXMcHg==
Message:Value cannot be null. Parameter name: value
StackTrace:
InnerMessage:Value cannot be null. Parameter name: value
InnerStackTrace:
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at DotNetNuke.Common.Utilities.Json.Deserialize[T](String json)
at DotNetNuke.Services.Authentication.OAuth.OAuthClientBase.GetCurrentUser[TUserData]()
at DotNetNuke.Authentication.Facebook.Login.GetCurrentUser()
at DotNetNuke.Services.Authentication.OAuth.OAuthLoginBase. (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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I've tried playing with all sorts of settings on Facebook. I have the callback url's setup in facebook. It looks like the website is getting no databack to deserialize that json object. Any help would be much appreciated, thanks.
Peter