User Data response does not contain field [object Object]
Closed this issue · 2 comments
IlyaSemenov commented
cookie auth module prints this error:
User Data response does not contain field [object Object]
The code is incorrect:
auth/src/runtime/schemes/cookie.ts
Lines 146 to 155 in af9e96a
The error string should be referring to the specific field (client or server) not the aggregating object.
Denoder commented
can you try version 2.5.0 and use user.property
instead of user.property.server
/user.property.client
IlyaSemenov commented
Yes, seems to work without server: true
in 2.5. Thanks.
Everything worked in 2.4, too, I just reported the mistake I noticed when setting it up.