-
Notifications
You must be signed in to change notification settings - Fork 118
How can I verify a user by local strategy on client without real authentication? #704
Comments
If I understand correctly, that is not possible. Only the server knows the actual hashed password to compare the credentials against. You could call |
@daffl I'm using vuex on client and I can't get
but failed with error: |
I found in feathers-vuex a feathersClient which can help me get service on client:
@daffl But then another question is even if I pass in a wrong email or password, the Is the state that I'm logining as user A, and use the code above to verify user B, affect the result of |
I have to logout first, then use service('authentication').create() or auth/authenticate() to verify or authenticate a user. @daffl thanks for your reply. Though I find a way to bypass the limit, I think there still maybe some scenarios when a logined user need to verify whether another account is a valid account. |
Yes. This is a known issue and tracked in feathersjs/feathers#1017. Closing this one since this repository will be moved. |
How can I verify a user by username/password(like local strategy) on client without call authenticate() to really login?
The text was updated successfully, but these errors were encountered: