CakeDC/users

Google Social Login issue

monjon opened this issue · 1 comments

I am trying to add google authentification using Social Authentication following the documentation provided here: https://github.com/CakeDC/users/blob/master/Docs/Documentation/Installation.md
Each time I am running the command: bin/cake users addSuperuser
I have the following error:

[PDOException] SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value in .../vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php on line 39

Thanks for your help

This happens when you have a custom table without auto unique id.