I get this when trying to auth facebook. I have added some console.logs and I know that is working ok, but when it tries to check the database find I get this.
{ [Error: ER_BAD_FIELD_ERROR: Unknown column 'providerData.id' in 'where clause']
code: 'ER_BAD_FIELD_ERROR',
errno: 1054,
sqlState: '42S22',
index: 0,
sql: 'SELECT * FROM Users WHERE (Users.provider=\'facebook\' AND providerData.id=\'10203576445163005\' OR additionalProvidersData.facebook.id=\'10203576445163005\') LIMIT 1;' }
I get this when trying to auth facebook. I have added some console.logs and I know that is working ok, but when it tries to check the database find I get this.
{ [Error: ER_BAD_FIELD_ERROR: Unknown column 'providerData.id' in 'where clause'] code: 'ER_BAD_FIELD_ERROR', errno: 1054, sqlState: '42S22', index: 0, sql: 'SELECT * FROM
Users
WHERE (Users
.provider
=\'facebook\' ANDproviderData
.id
=\'10203576445163005\' ORadditionalProvidersData
.facebook
.id
=\'10203576445163005\') LIMIT 1;' }