Trouble with Facebook authentication
I've been trying to set up facebook authentication with concrete5.7.3 and I've run into some troubles. I have been getting a vague error message 'An unexpected error has occured' when trying to automatically register new users. When I looked through the logs, the following error was printed out
An exception occurred while executing 'insert into Users (uName, uEmail, uPassword, uIsValidated, uDateAdded, uLastPasswordChange, uIsFullRecord, uDefaultLanguage, uIsActive) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, null, "$2a$12$mY9i0SKbmDGNaYbLpCG2eueEsuK0kBxn2nP6HBRuZRwxl0XAsoxKi", 1, "2014-12-21 06:30:21", "2014-12-21 06:30:21", 1, null, 1]:
SQLSTATE: Integrity constraint violation: 1048 Column 'uName' cannot be null
However, attaching user accounts, and then logging in all works smoothly. Has anyone else managed to get this feature working?
Please update if any of you had a solution