For now, the implementation is using the account sercice which is based on feathers-authentication-management. But feathers-authentication-management do not provide a mecanism to extend the proposed actions. Thus, we had to deal with this constraint and finally we decided to go for a simple solution but not so secure. We could have a smarter solution by extending feathers-authentication-management with our own actions such as 'sendInvitation'.
For now, the implementation is using the account sercice which is based on feathers-authentication-management. But feathers-authentication-management do not provide a mecanism to extend the proposed actions. Thus, we had to deal with this constraint and finally we decided to go for a simple solution but not so secure. We could have a smarter solution by extending feathers-authentication-management with our own actions such as 'sendInvitation'.