You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you combine @feathersjs/authentication-local with custom service (e.g. not with provided one), you'll get this error Error: the 'id' property must be set on the entity service for authentication from verifier.js#81.
I took me quite a while to reverse engineer where is the problem. Appareantly it is talking about users service, not authentication one and setting this.id on custom service makes magically everything working again.
Expected behavior
There should be mention about that in docs or added configuration option for auth plugin.
Actual behavior
It makes you wonder what is going on instead of making you productive.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
When you combine
@feathersjs/authentication-local
with custom service (e.g. not with provided one), you'll get this errorError: the 'id' property must be set on the entity service for authentication
from verifier.js#81.I took me quite a while to reverse engineer where is the problem. Appareantly it is talking about
users
service, notauthentication
one and settingthis.id
on custom service makes magically everything working again.Expected behavior
There should be mention about that in docs or added configuration option for auth plugin.
Actual behavior
It makes you wonder what is going on instead of making you productive.
The text was updated successfully, but these errors were encountered: