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
{{ message }}
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
feathers-authentication-management adds a isVerified flag to user. That can be used in a service hook to check a user is verified, after any checking that the user is authenticated.
Still it looks a bit wierd that the feathers-authentication ecosystem will authenticate a user with isVerified === false. I wonder if that flag, if it exists, should be checked by the ecosystem.
The text was updated successfully, but these errors were encountered:
We definitely need a better way to integrate. Is the user present in the hook object of an afterCreate hook on the authentication service? If so, we could just register an after hook that checks the user and throws an error to keep the token from going out.
ekryski
changed the title
Integrate with isVerified flag added by feathers-authentication-management
Tighter integration with feathers-authentication-management
Jul 24, 2017
I'd like to revisit this and look at tweaking feathers-authentication-management to be a bit more generic so that the user isn't required to define any specific model attributes. I see it being pretty minor tweaks and also easier once we have some of the work slated for Auth 2.0 complete.
feathers-authentication-management
adds aisVerified
flag touser
. That can be used in a service hook to check a user is verified, after any checking that the user is authenticated.Still it looks a bit wierd that the feathers-authentication ecosystem will authenticate a user with
isVerified === false
. I wonder if that flag, if it exists, should be checked by the ecosystem.The text was updated successfully, but these errors were encountered: